StrongNamePublicKeyBlob 类

定义

注意

Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}

表示强名称的公钥信息(称为 Blob)。Represents the public key information (called a blob) for a strong name. 此类不能被继承。This class cannot be inherited.

public ref class StrongNamePublicKeyBlob sealed
public sealed class StrongNamePublicKeyBlob
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class StrongNamePublicKeyBlob
[System.Serializable]
public sealed class StrongNamePublicKeyBlob
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class StrongNamePublicKeyBlob
type StrongNamePublicKeyBlob = class
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type StrongNamePublicKeyBlob = class
[<System.Serializable>]
type StrongNamePublicKeyBlob = class
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type StrongNamePublicKeyBlob = class
Public NotInheritable Class StrongNamePublicKeyBlob
继承
StrongNamePublicKeyBlob
属性

注解

此类便于出于标识目的使用强名称。This class facilitates the use of strong names for identification purposes.

有关强名称的完整说明,请参阅 StrongNameFor a complete description of strong names, see StrongName.

构造函数

StrongNamePublicKeyBlob(Byte[])

使用公钥 Blob 的原始字节初始化 StrongNamePublicKeyBlob 类的新实例。Initializes a new instance of the StrongNamePublicKeyBlob class with raw bytes of the public key blob.

方法

Equals(Object)

获取或设置一个值,该值指示当前公钥 Blob 是否等于所指定的公钥 Blob。Gets or sets a value indicating whether the current public key blob is equal to the specified public key blob.

GetHashCode()

返回一个基于公钥的哈希代码。Returns a hash code based on the public key.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

创建并返回公钥 Blob 的字符串表示形式。Creates and returns a string representation of the public key blob.

适用于

另请参阅