Share via


Reference.StrongName Property

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

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

Syntax

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

Property Value

Type: System.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.

Examples

See the example in Reference.

.NET Framework Security

See Also

Reference

Reference Interface

VSLangProj Namespace