Method PublicKeyXmlFromAssembly
| Improve this Doc View SourcePublicKeyXmlFromAssembly(Assembly)
Gets public key XML string from specified assembly.
Declaration
public static string PublicKeyXmlFromAssembly(Assembly assembly)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Reflection.Assembly | assembly | The specified assembly. |
Returns
| Type | Description |
|---|---|
| System.String | The public key XML. null if assembly is not signed with a strong name. |
PublicKeyXmlFromAssembly(String)
Gets public key XML string from specified assembly file.
Declaration
public static string PublicKeyXmlFromAssembly(string assemblyPath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | assemblyPath | The full path of the assembly file. |
Returns
| Type | Description |
|---|---|
| System.String | The public key XML. null if assembly is not signed with a strong name. |