Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the certificate for the local computer.
Namespace: Microsoft.WindowsServerSolutions.Devices.Identity
Assembly: MachineIdentityObjectModel (in MachineIdentityObjectModel.dll)
Syntax
public static X509Certificate2 GetLocalMachineCert()
public:
static X509Certificate2^ GetLocalMachineCert()
Public Shared Function GetLocalMachineCert As X509Certificate2
Return Value
Type: System.Security.Cryptography.X509Certificates.X509Certificate2
An instance of X509Certificate2.
See Also
MachineIdentityManager Class
Microsoft.WindowsServerSolutions.Devices.Identity Namespace
Return to top