static private HasAuthenticodeSignature ( string filePath ) : bool | ||
filePath | string | |
Результат | bool |
static bool HasAuthenticodeSignature(string filePath)
{
try
{
X509Certificate.CreateFromSignedFile(filePath);
return true;
}
catch
{
return false;
}
}