Partilhar via


Reference2.StrongName Property

Definition

Gets whether the reference is signed with a public/private key pair. Read-only.

public:
 property bool StrongName { bool get(); };
public:
 property bool StrongName { bool get(); };
[System.Runtime.InteropServices.DispId(15)]
public bool StrongName { [System.Runtime.InteropServices.DispId(15)] get; }
[<System.Runtime.InteropServices.DispId(15)>]
[<get: System.Runtime.InteropServices.DispId(15)>]
member this.StrongName : bool
Public ReadOnly Property StrongName As Boolean

Property Value

true if the reference is signed with a public/private key pair.

Implements

Attributes

Remarks

The value returned depends on the reference type.

Reference Type Value Returned
Assembly True if the reference has a strong name.
COM False; COM objects do not have strong names.

Only assemblies with strong names may be placed in the global assembly cache. For more information on strong names and the global assembly cache, see Strong-Named Assemblies, Global Assembly Cache, and Working with Assemblies and the Global Assembly Cache.

Applies to