Condividi tramite


Reference2.StrongName Property

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

Namespace:  VSLangProj2
Assembly:  VSLangProj2 (in VSLangProj2.dll)

Syntax

'Declaration
ReadOnly Property StrongName As Boolean
bool StrongName { get; }
property bool StrongName {
    bool get ();
}
abstract StrongName : bool with get
function get StrongName () : boolean

Property Value

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

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.

.NET Framework Security

See Also

Reference

Reference2 Interface

VSLangProj2 Namespace