@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: CryptProtectData and CryptUnprotectData dwFlags !!!!C# Definition: [Flags] private enum CryptProtectFlags { // for remote-access situations where ui is not an option // if UI was specified on protect or unprotect operation, the call // will fail and GetLastError() will indicate ERROR_PASSWORD_RESTRICTION CRYPTPROTECT_UI_FORBIDDEN = 0x1, // per machine protected data -- any user on machine where CryptProtectData // took place may CryptUnprotectData CRYPTPROTECT_LOCAL_MACHINE = 0x4, // force credential synchronize during CryptProtectData() // Synchronize is only operation that occurs during this operation CRYPTPROTECT_CRED_SYNC = 0x8, // Generate an Audit on protect and unprotect operations CRYPTPROTECT_AUDIT = 0x10, // Protect data with a non-recoverable key CRYPTPROTECT_NO_RECOVERY = 0x20, // Verify the protection of a protected blob CRYPTPROTECT_VERIFY_PROTECTION = 0x40 } !!!!VB Definition: <Flags()> Enum CryptProtectFlags ' for remote-access situations where ui is not an option ' if UI was specified on protect or unprotect operation, the call ' will fail and GetLastError() will indicate ERROR_PASSWORD_RESTRICTION CRYPTPROTECT_UI_FORBIDDEN = &H1 ' per machine protected data -- any user on machine where CryptProtectData ' took place may CryptUnprotectData CRYPTPROTECT_LOCAL_MACHINE = &H4 ' force credential synchronize during CryptProtectData() ' Synchronize is only operation that occurs during this operation CRYPTPROTECT_CRED_SYNC = &H8 ' Generate an Audit on protect and unprotect operations CRYPTPROTECT_AUDIT = &H10 ' Protect data with a non-recoverable key CRYPTPROTECT_NO_RECOVERY = &H20 ' Verify the protection of a protected blob CRYPTPROTECT_VERIFY_PROTECTION = &H40 End Enum !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Please add some!
Edit Enums.CryptProtec...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.