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
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.
Examples
See the example in Reference.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.