StrongNameIdentityPermission::PublicKey Property
.NET Framework (current version)
Gets or sets the public key blob that defines the strong name identity namespace.
Assembly: mscorlib (in mscorlib.dll)
public: property StrongNamePublicKeyBlob^ PublicKey { StrongNamePublicKeyBlob^ get(); void set(StrongNamePublicKeyBlob^ value); }
Property Value
Type: System.Security.Permissions::StrongNamePublicKeyBlob^A StrongNamePublicKeyBlob that contains the public key of the identity, or null if there is no key.
| Exception | Condition |
|---|---|
| ArgumentNullException | The property value is set to null. |
| NotSupportedException | The property value cannot be retrieved because it contains an ambiguous identity. |
.NET Framework
Available since 1.1
Available since 1.1
Show: