C# 클래스 WindowsStartupTool.Lib.RegistryEditor

Author: Narek Yegoryan
상속: IDisposable
파일 보기 프로젝트 열기: narekye/win-tools 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

IDisposable support

GetAllStartupAppsFromRegistry ( SkippableSourceEnum skipSource = SkippableSourceEnum.None ) : string>.Dictionary
GetStartupAppsFromRegistry ( TargetPlatformEnum platform = TargetPlatformEnum.x32 ) : string>.Dictionary

Returns the list of startup programs on remote machine, with executable file path's

InitializeRegistry ( string subKey = "", TargetPlatformEnum targetPlatform = TargetPlatformEnum.x32 ) : void

Initializes RegistryEditor to passed in registry key value

RegistryEditor ( string machine, RegistryLookupSourceEnum source = RegistryLookupSourceEnum.Machine, bool startServiceIfNeeded = false ) : Microsoft.Win32
RemoveRegistryValueByKey ( string subKey, string registryKey ) : void

Removes specified key value pair from registry sub key

RemoveStartupAppByKey ( string key ) : void

Removes an app with spacified key from startup

SetRegistry ( string subKey, string registryKey, string registryValue ) : void

Sets the registry with specified sub key

SetStartupAppToRegistry ( string key, string executeablePath ) : void

If application with the same key is exists function will replace the value

메소드 상세

Dispose() 공개 메소드

IDisposable support
public Dispose ( ) : void
리턴 void

GetAllStartupAppsFromRegistry() 공개 메소드

public GetAllStartupAppsFromRegistry ( SkippableSourceEnum skipSource = SkippableSourceEnum.None ) : string>.Dictionary
skipSource SkippableSourceEnum
리턴 string>.Dictionary

GetStartupAppsFromRegistry() 공개 메소드

Returns the list of startup programs on remote machine, with executable file path's
public GetStartupAppsFromRegistry ( TargetPlatformEnum platform = TargetPlatformEnum.x32 ) : string>.Dictionary
platform TargetPlatformEnum
리턴 string>.Dictionary

InitializeRegistry() 공개 메소드

Initializes RegistryEditor to passed in registry key value
public InitializeRegistry ( string subKey = "", TargetPlatformEnum targetPlatform = TargetPlatformEnum.x32 ) : void
subKey string
targetPlatform TargetPlatformEnum
리턴 void

RegistryEditor() 공개 메소드

public RegistryEditor ( string machine, RegistryLookupSourceEnum source = RegistryLookupSourceEnum.Machine, bool startServiceIfNeeded = false ) : Microsoft.Win32
machine string
source RegistryLookupSourceEnum
startServiceIfNeeded bool
리턴 Microsoft.Win32

RemoveRegistryValueByKey() 공개 메소드

Removes specified key value pair from registry sub key
public RemoveRegistryValueByKey ( string subKey, string registryKey ) : void
subKey string
registryKey string
리턴 void

RemoveStartupAppByKey() 공개 메소드

Removes an app with spacified key from startup
public RemoveStartupAppByKey ( string key ) : void
key string
리턴 void

SetRegistry() 공개 메소드

Sets the registry with specified sub key
public SetRegistry ( string subKey, string registryKey, string registryValue ) : void
subKey string
registryKey string
registryValue string
리턴 void

SetStartupAppToRegistry() 공개 메소드

If application with the same key is exists function will replace the value
public SetStartupAppToRegistry ( string key, string executeablePath ) : void
key string
executeablePath string
리턴 void