UtilCertificationGetFileDigitalSignature Method
Gets the certificate of a digitally signed file.
Namespace: DevCase.Core.Security.Cryptography.CertificationAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static X509Certificate2 GetFileDigitalSignature(
string filePath
)
Public Shared Function GetFileDigitalSignature (
filePath As String
) As X509Certificate2
Dim filePath As String
Dim returnValue As X509Certificate2
returnValue = UtilCertification.GetFileDigitalSignature(filePath)
public:
static X509Certificate2^ GetFileDigitalSignature(
String^ filePath
)
static member GetFileDigitalSignature :
filePath : string -> X509Certificate2
No code example is currently available or this language may not be supported.
- filePath String
-
Path to the file to verify.
X509Certificate2
The resulting certificate, or
if the file is not digitally signed.
This is a code example.
No code example is currently available or this language may not be supported.
Dim cert As X509Certificate2 = GetFileDigitalSignature("C:\Program.exe")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.