CertificateHelper.GetCertThumbprint Method
Retrieves a certificate thumbprint based on the certificate filename and password. An exception is thrown if the certificate is not found.
Namespace: Microsoft.Hpc.Azure.ClusterConfig
Assembly: Microsoft.Hpc.Azure.ClusterConfig (in Microsoft.Hpc.Azure.ClusterConfig.dll)
Usage
'Usage
Dim filename As String
Dim certificatePassword As String
Dim returnValue As String
returnValue = CertificateHelper.GetCertThumbprint(filename, certificatePassword)
Syntax
'Declaration
Public Shared Function GetCertThumbprint ( _
filename As String, _
certificatePassword As String _
) As String
public static string GetCertThumbprint (
string filename,
string certificatePassword
)
public:
static String^ GetCertThumbprint (
String^ filename,
String^ certificatePassword
)
public static String GetCertThumbprint (
String filename,
String certificatePassword
)
public static function GetCertThumbprint (
filename : String,
certificatePassword : String
) : String
Parameters
- filename
The certificate filename and extension.
- certificatePassword
The password required to access the X.509 certificate data.
Return Value
Returns a String object that contains the thumbprint of the certificate.
Remarks
Platform Note: This method was introduced in the Windows Azure SDK v 1.6 with the Windows Azure HPC Scheduler SDK. It is not supported in previous versions.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
Target Platforms
Windows Server 2008 R2, Windows Server 2012
See Also
Reference
CertificateHelper Class
CertificateHelper Members
Microsoft.Hpc.Azure.ClusterConfig Namespace
Build Date:
2013-04-22