C# Class System.GAC.AssemblyCache

显示文件 Open project: quetzalcoatl/xvsr10

Public Methods

Method Description
CreateAssemblyCache ( ) : IAssemblyCache

Use this method as a start for the GAC API

CreateAssemblyName ( string name ) : IAssemblyName
CreateGACEnum ( ) : IAssemblyEnum
GetCulture ( IAssemblyName name ) : CultureInfo
GetDisplayName ( IAssemblyName name, ASM_DISPLAY_FLAGS which ) : String
GetDownloadPath ( ) : String
GetGACPath ( ) : String
GetName ( IAssemblyName name ) : String
GetNextAssembly ( IAssemblyEnum enumerator, IAssemblyName &name ) : int

Get the next assembly name in the current enumerator or fail

GetPublicKey ( IAssemblyName name ) : byte[]
GetPublicKeyToken ( IAssemblyName name ) : byte[]
GetVersion ( IAssemblyName name ) : Version
GetZapPath ( ) : String

Private Methods

Method Description
CreateAssemblyCache ( IAssemblyCache &ppAsmCache, uint dwReserved ) : void
CreateAssemblyEnum ( IAssemblyEnum &pEnum, IntPtr pUnkReserved, IAssemblyName pName, ASM_CACHE_FLAGS dwFlags, IntPtr pvReserved ) : void
CreateAssemblyNameObject ( IAssemblyName &ppAssemblyNameObj, string szAssemblyName, uint dwFlags, IntPtr pvReserved ) : void
CreateInstallReferenceEnum ( IInstallReferenceEnum &ppRefEnum, IAssemblyName pName, uint dwFlags, IntPtr pvReserved ) : void
GetCachePath ( ASM_CACHE_FLAGS dwCacheFlags, [ pwzCachePath, uint &pcchPath ) : void

Method Details

CreateAssemblyCache() public static method

Use this method as a start for the GAC API
public static CreateAssemblyCache ( ) : IAssemblyCache
return IAssemblyCache

CreateAssemblyName() public static method

public static CreateAssemblyName ( string name ) : IAssemblyName
name string
return IAssemblyName

CreateGACEnum() public static method

public static CreateGACEnum ( ) : IAssemblyEnum
return IAssemblyEnum

GetCulture() public static method

public static GetCulture ( IAssemblyName name ) : CultureInfo
name IAssemblyName
return System.Globalization.CultureInfo

GetDisplayName() public static method

public static GetDisplayName ( IAssemblyName name, ASM_DISPLAY_FLAGS which ) : String
name IAssemblyName
which ASM_DISPLAY_FLAGS
return String

GetDownloadPath() public static method

public static GetDownloadPath ( ) : String
return String

GetGACPath() public static method

public static GetGACPath ( ) : String
return String

GetName() public static method

public static GetName ( IAssemblyName name ) : String
name IAssemblyName
return String

GetNextAssembly() public static method

Get the next assembly name in the current enumerator or fail
public static GetNextAssembly ( IAssemblyEnum enumerator, IAssemblyName &name ) : int
enumerator IAssemblyEnum
name IAssemblyName
return int

GetPublicKey() public static method

public static GetPublicKey ( IAssemblyName name ) : byte[]
name IAssemblyName
return byte[]

GetPublicKeyToken() public static method

public static GetPublicKeyToken ( IAssemblyName name ) : byte[]
name IAssemblyName
return byte[]

GetVersion() public static method

public static GetVersion ( IAssemblyName name ) : Version
name IAssemblyName
return Version

GetZapPath() public static method

public static GetZapPath ( ) : String
return String