Show / Hide Table of Contents

Method PublicKeyXmlFromAssembly

| Improve this Doc View Source

PublicKeyXmlFromAssembly(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.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest