Udostępnij za pośrednictwem


X509ThumbprintExtensions.IsValid(X509Thumbprint, Boolean) Method

Definition

Checks if contents are valid

public static bool IsValid (this Microsoft.Azure.Devices.X509Thumbprint x509Thumbprint, bool throwArgumentException);
static member IsValid : Microsoft.Azure.Devices.X509Thumbprint * bool -> bool
<Extension()>
Public Function IsValid (x509Thumbprint As X509Thumbprint, throwArgumentException As Boolean) As Boolean

Parameters

x509Thumbprint
X509Thumbprint

The X509 thumbprint to check.

throwArgumentException
Boolean

A flag to indicat whether an ArgumentException should be thrown.

Returns

bool

Applies to