C# 클래스 OleViewDotNet.COMUtilities

파일 보기 프로젝트 열기: tyranid/oleviewdotnet 1 사용 예제들

공개 메소드들

메소드 설명
ConvertTypeLibToAssembly ( ITypeLib typeLib ) : Assembly
CreateDynamicCallWrapper ( object target, Type t ) : dynamic
Get32bitExePath ( ) : string
GetAppDataDirectory ( ) : string
GetAppDirectory ( ) : string
GetCategoryName ( System.Guid catid ) : string
GetDispatchTypeInfo ( object comObj ) : Type
GetExePath ( ) : string
GetILForSD ( byte sd ) : string
GetInterfaceType ( System.Guid iid ) : Type
GetMonikerDisplayName ( IMoniker pmk ) : string
GetObjectClass ( object p ) : System.Guid
GetPluginDirectory ( ) : string
GetStringSDForSD ( byte sd ) : string
GetTypeLibDirectory ( ) : string
HasSubkey ( this key, string name ) : bool
IsComImport ( Type t ) : bool
IsValidGUID ( string guid ) : bool
LoadObjectFromStream ( object obj, Stream stm ) : void
LoadTypeLib ( string path ) : Assembly
LoadTypeLibAssemblies ( ) : void
MarshalObject ( object obj ) : byte[]
MemberInfoToString ( MemberInfo member ) : string
OleLoadFromStream ( Stream stm ) : object
OleSaveToStream ( object obj, Stream stm ) : void
ReadGuidFromKey ( RegistryKey rootKey, string keyName, string valueName ) : System.Guid
ReadIntFromKey ( RegistryKey rootKey, string keyName, string valueName ) : int
ReadSecurityDescriptorFromKey ( RegistryKey key, string value ) : RawSecurityDescriptor
ReadStringFromKey ( RegistryKey rootKey, string keyName, string valueName ) : string
SDHasAC ( byte sd ) : bool
SaveObjectToStream ( object obj, Stream stm ) : void

비공개 메소드들

메소드 설명
COMUtilities ( ) : System
CoCreateInstance ( System.Guid &rclsid, IntPtr pUnkOuter, CLSCTX dwClsContext, System.Guid &riid, IntPtr &ppv ) : int
CoGetClassObject ( System.Guid &rclsid, CLSCTX dwClsContext, IntPtr pServerInfo, System.Guid &riid, IntPtr &ppv ) : int
CoUnmarshalInterface ( IStream stm, System.Guid &riid, IntPtr &ppv ) : int
ConvertSecurityDescriptorToStringSecurityDescriptor ( byte sd, uint rev, SECURITY_INFORMATION secinfo, IntPtr &str, int &length ) : bool
CreateBindCtx ( [ reserved ) : IBindCtx
CreateForwardingMethod ( MethodInfo mi ) : CodeMemberMethod
CreateForwardingProperty ( PropertyInfo pi ) : CodeMemberProperty
CreateObjrefMoniker ( [ punk ) : IMoniker
CreateWrapper ( Type t ) : Type
CreateWrapperTypeDeclaration ( Type t ) : CodeTypeDeclaration
CurrentDomain_AssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly
GetParameter ( ParameterInfo pi ) : CodeParameterDeclarationExpression
LoadBuiltinTypes ( Assembly asm ) : void
LoadTypeLibEx ( String strTypeLibName, RegKind regKind, [ typeLib ) : void
LocalFree ( IntPtr hMem ) : IntPtr
RegisterTypeInterfaces ( Assembly a ) : void
SHCreateStreamOnFile ( string pszFile, STGM grfMode, IntPtr &ppStm ) : void

메소드 상세

ConvertTypeLibToAssembly() 공개 정적인 메소드

public static ConvertTypeLibToAssembly ( ITypeLib typeLib ) : Assembly
typeLib ITypeLib
리턴 System.Reflection.Assembly

CreateDynamicCallWrapper() 공개 정적인 메소드

public static CreateDynamicCallWrapper ( object target, Type t ) : dynamic
target object
t System.Type
리턴 dynamic

Get32bitExePath() 공개 정적인 메소드

public static Get32bitExePath ( ) : string
리턴 string

GetAppDataDirectory() 공개 정적인 메소드

public static GetAppDataDirectory ( ) : string
리턴 string

GetAppDirectory() 공개 정적인 메소드

public static GetAppDirectory ( ) : string
리턴 string

GetCategoryName() 공개 정적인 메소드

public static GetCategoryName ( System.Guid catid ) : string
catid System.Guid
리턴 string

GetDispatchTypeInfo() 공개 정적인 메소드

public static GetDispatchTypeInfo ( object comObj ) : Type
comObj object
리턴 System.Type

GetExePath() 공개 정적인 메소드

public static GetExePath ( ) : string
리턴 string

GetILForSD() 공개 정적인 메소드

public static GetILForSD ( byte sd ) : string
sd byte
리턴 string

GetInterfaceType() 공개 정적인 메소드

public static GetInterfaceType ( System.Guid iid ) : Type
iid System.Guid
리턴 System.Type

GetMonikerDisplayName() 공개 정적인 메소드

public static GetMonikerDisplayName ( IMoniker pmk ) : string
pmk IMoniker
리턴 string

GetObjectClass() 공개 정적인 메소드

public static GetObjectClass ( object p ) : System.Guid
p object
리턴 System.Guid

GetPluginDirectory() 공개 정적인 메소드

public static GetPluginDirectory ( ) : string
리턴 string

GetStringSDForSD() 공개 정적인 메소드

public static GetStringSDForSD ( byte sd ) : string
sd byte
리턴 string

GetTypeLibDirectory() 공개 정적인 메소드

public static GetTypeLibDirectory ( ) : string
리턴 string

HasSubkey() 공개 정적인 메소드

public static HasSubkey ( this key, string name ) : bool
key this
name string
리턴 bool

IsComImport() 공개 정적인 메소드

public static IsComImport ( Type t ) : bool
t System.Type
리턴 bool

IsValidGUID() 공개 정적인 메소드

public static IsValidGUID ( string guid ) : bool
guid string
리턴 bool

LoadObjectFromStream() 공개 정적인 메소드

public static LoadObjectFromStream ( object obj, Stream stm ) : void
obj object
stm Stream
리턴 void

LoadTypeLib() 공개 정적인 메소드

public static LoadTypeLib ( string path ) : Assembly
path string
리턴 System.Reflection.Assembly

LoadTypeLibAssemblies() 공개 정적인 메소드

public static LoadTypeLibAssemblies ( ) : void
리턴 void

MarshalObject() 공개 정적인 메소드

public static MarshalObject ( object obj ) : byte[]
obj object
리턴 byte[]

MemberInfoToString() 공개 정적인 메소드

public static MemberInfoToString ( MemberInfo member ) : string
member System.Reflection.MemberInfo
리턴 string

OleLoadFromStream() 공개 정적인 메소드

public static OleLoadFromStream ( Stream stm ) : object
stm Stream
리턴 object

OleSaveToStream() 공개 정적인 메소드

public static OleSaveToStream ( object obj, Stream stm ) : void
obj object
stm Stream
리턴 void

ReadGuidFromKey() 공개 정적인 메소드

public static ReadGuidFromKey ( RegistryKey rootKey, string keyName, string valueName ) : System.Guid
rootKey Microsoft.Win32.RegistryKey
keyName string
valueName string
리턴 System.Guid

ReadIntFromKey() 공개 정적인 메소드

public static ReadIntFromKey ( RegistryKey rootKey, string keyName, string valueName ) : int
rootKey Microsoft.Win32.RegistryKey
keyName string
valueName string
리턴 int

ReadSecurityDescriptorFromKey() 공개 정적인 메소드

public static ReadSecurityDescriptorFromKey ( RegistryKey key, string value ) : RawSecurityDescriptor
key Microsoft.Win32.RegistryKey
value string
리턴 System.Security.AccessControl.RawSecurityDescriptor

ReadStringFromKey() 공개 정적인 메소드

public static ReadStringFromKey ( RegistryKey rootKey, string keyName, string valueName ) : string
rootKey Microsoft.Win32.RegistryKey
keyName string
valueName string
리턴 string

SDHasAC() 공개 정적인 메소드

public static SDHasAC ( byte sd ) : bool
sd byte
리턴 bool

SaveObjectToStream() 공개 정적인 메소드

public static SaveObjectToStream ( object obj, Stream stm ) : void
obj object
stm Stream
리턴 void