system.security
PowerShell - Decode System.Security.SecureString to readable password
I want to decode the password from a System.Security.SecureString to a readable password. $password = convertto-securestring \"TestPassword\" -asplaintext -force[详细]
2023-04-06 07:32 分类:问答PowerShell - Get-Credential decode password?
I want to use the Get-Credential cmdlet in my code. How is is possible to decode the password easily back from the System.Security.SecureString format?[详细]
2023-04-04 22:34 分类:问答Custom extensions in System.Security.Cryptography.X509Certificates
The .NET class System.Security.Cryptography.X509Certificates.X509Extension does not support some X.509 extensions I want to parse (subject alternative name, name constraints).The MSDN page for this cl[详细]
2023-01-04 22:04 分类:问答ProtectedData.Unprotect() after Impersonate()
The following code doesn\'t work: IntPtr token = Win32Dll.LogonUser(“user1”, “mydomain”, “password1”);[详细]
2022-12-24 15:12 分类:问答Token-Based Authentication in WCF
I am creating a website which will contain both ASP.NET pages and a Flash applet.I want to encapsulate my business logic in a WCF service which will be exposed through two endpoints:One accesssible ov[详细]
2022-12-13 21:55 分类:问答