mscorlib(4.0.0.0) API with additions
|
Contains information used to uniquely identify a manifest-based application. This class cannot be inherited. More...
Public Member Functions | |
ApplicationId (byte[] publicKeyToken, string name, Version version, string processorArchitecture, string culture) | |
Initializes a new instance of the T:System.ApplicationId class. More... | |
ApplicationId | Copy () |
Creates and returns an identical copy of the current application identity. More... | |
override string | ToString () |
Creates and returns a string representation of the application identity. More... | |
override bool | Equals (object o) |
Determines whether the specified T:System.ApplicationId object is equivalent to the current T:System.ApplicationId. More... | |
override int | GetHashCode () |
Gets the hash code for the current application identity. More... | |
Public Attributes | |
string | Name => m_name |
Gets the name of the application. More... | |
Version | Version => m_version |
Gets the version of the application. More... | |
string | ProcessorArchitecture => m_processorArchitecture |
Gets the target processor architecture for the application. More... | |
string | Culture => m_culture |
Gets a string representing the culture information for the application. More... | |
Properties | |
byte [] | PublicKeyToken [get] |
Gets the public key token for the application. More... | |
Contains information used to uniquely identify a manifest-based application. This class cannot be inherited.
Definition at line 10 of file ApplicationId.cs.
System.ApplicationId.ApplicationId | ( | byte [] | publicKeyToken, |
string | name, | ||
Version | version, | ||
string | processorArchitecture, | ||
string | culture | ||
) |
Initializes a new instance of the T:System.ApplicationId class.
publicKeyToken | The array of bytes representing the raw public key data. |
name | The name of the application. |
version | A T:System.Version object that specifies the version of the application. |
processorArchitecture | The processor architecture of the application. |
culture | The culture of the application. |
T:System.ArgumentNullException | name is null .-or- version is null .-or- publicKeyToken is null . |
T:System.ArgumentException | name is an empty string. |
Definition at line 66 of file ApplicationId.cs.
ApplicationId System.ApplicationId.Copy | ( | ) |
Creates and returns an identical copy of the current application identity.
Definition at line 94 of file ApplicationId.cs.
override bool System.ApplicationId.Equals | ( | object | o | ) |
Determines whether the specified T:System.ApplicationId object is equivalent to the current T:System.ApplicationId.
o | The T:System.ApplicationId object to compare to the current T:System.ApplicationId. |
true
if the specified T:System.ApplicationId object is equivalent to the current T:System.ApplicationId; otherwise, false
.Definition at line 133 of file ApplicationId.cs.
override int System.ApplicationId.GetHashCode | ( | ) |
Gets the hash code for the current application identity.
Definition at line 160 of file ApplicationId.cs.
override string System.ApplicationId.ToString | ( | ) |
Creates and returns a string representation of the application identity.
Definition at line 101 of file ApplicationId.cs.
string System.ApplicationId.Culture => m_culture |
Gets a string representing the culture information for the application.
Definition at line 48 of file ApplicationId.cs.
string System.ApplicationId.Name => m_name |
Gets the name of the application.
Definition at line 36 of file ApplicationId.cs.
string System.ApplicationId.ProcessorArchitecture => m_processorArchitecture |
Gets the target processor architecture for the application.
Definition at line 44 of file ApplicationId.cs.
Version System.ApplicationId.Version => m_version |
Gets the version of the application.
Definition at line 40 of file ApplicationId.cs.
|
get |
Gets the public key token for the application.
Definition at line 25 of file ApplicationId.cs.