C# 클래스 NMaier.SimpleDlna.GUI.StartupUtilities

상속: IDisposable
파일 보기 프로젝트 열기: nmaier/simpleDLNA 1 사용 예제들

공개 메소드들

메소드 설명
CheckIfRunAtWinBoot ( string name ) : bool

Checks for autorun registry entry

Dispose ( ) : void
InstallAutoRun ( string name ) : void

Sets application to run at windows boot, using an name as the registry key name, current executable path

InstallAutoRun ( string name, string path ) : void

Sets application to run at windows boot, using an name as the registry key name, and any supplied path

StartupUtilities ( StartupUserScope userScope ) : System
UninstallAutoRun ( string name ) : void

메소드 상세

CheckIfRunAtWinBoot() 공개 메소드

Checks for autorun registry entry
public CheckIfRunAtWinBoot ( string name ) : bool
name string "key" to search for in startup registry
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

InstallAutoRun() 공개 메소드

Sets application to run at windows boot, using an name as the registry key name, current executable path
public InstallAutoRun ( string name ) : void
name string Name the startup key will use, should be unique
리턴 void

InstallAutoRun() 공개 메소드

Sets application to run at windows boot, using an name as the registry key name, and any supplied path
public InstallAutoRun ( string name, string path ) : void
name string Name the startup key will use, should be unique
path string Path to the executable to run
리턴 void

StartupUtilities() 공개 메소드

public StartupUtilities ( StartupUserScope userScope ) : System
userScope StartupUserScope
리턴 System

UninstallAutoRun() 공개 메소드

public UninstallAutoRun ( string name ) : void
name string
리턴 void