C# Класс NMaier.SimpleDlna.GUI.StartupUtilities

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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