C# Class NMaier.SimpleDlna.GUI.StartupUtilities

Inheritance: IDisposable
Afficher le fichier Open project: nmaier/simpleDLNA Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CheckIfRunAtWinBoot() public méthode

Checks for autorun registry entry
public CheckIfRunAtWinBoot ( string name ) : bool
name string "key" to search for in startup registry
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

InstallAutoRun() public méthode

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
Résultat void

InstallAutoRun() public méthode

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
Résultat void

StartupUtilities() public méthode

public StartupUtilities ( StartupUserScope userScope ) : System
userScope StartupUserScope
Résultat System

UninstallAutoRun() public méthode

public UninstallAutoRun ( string name ) : void
name string
Résultat void