Export (0) Print
Expand All

DSACryptoServiceProvider.PublicOnly Property

Gets a value that indicates whether the DSACryptoServiceProvider object contains only a public key.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

[<ComVisibleAttribute(false)>]
member PublicOnly : bool with get

Property Value

Type: System.Boolean
true if the DSACryptoServiceProvider object contains only a public key; otherwise, false.

The DSACryptoServiceProvider class can be initialized either with a public key only or with both a public and private key. Use the PublicOnly property to determine whether the current instance contains only a public key or both a public and private key.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft