C# Class BlipFace.Helpers.AutoStart

Show file Open project: ksopyla/blipface Class Usage Examples

Public Properties

Property Type Description
ApplicationName string

Public Methods

Method Description
AutoStart ( ) : System

Creates an AutoStart object for the current application

AutoStart ( string ApplicationName ) : System
GetStartupRegistryApplications ( ) : string[]
GetStartupRegistryDir ( ) : RegistryKey
ResetCurrent ( ) : void

Destroys the object created when Current was called. Current can still be used, but the object will be recreated

SetCurrentCommandLine ( ) : void

Sets the CommandlineParameters property to the commandlines with which the application was started

Private Methods

Method Description
AutoStart ( string KeyName, string ApplicationName ) : System
SetRegKey ( ) : void
createshortcut ( ) : void

Method Details

AutoStart() public method

Creates an AutoStart object for the current application
public AutoStart ( ) : System
return System

AutoStart() public method

public AutoStart ( string ApplicationName ) : System
ApplicationName string
return System

GetStartupRegistryApplications() public static method

public static GetStartupRegistryApplications ( ) : string[]
return string[]

GetStartupRegistryDir() public static method

public static GetStartupRegistryDir ( ) : RegistryKey
return Microsoft.Win32.RegistryKey

ResetCurrent() public static method

Destroys the object created when Current was called. Current can still be used, but the object will be recreated
public static ResetCurrent ( ) : void
return void

SetCurrentCommandLine() public method

Sets the CommandlineParameters property to the commandlines with which the application was started
public SetCurrentCommandLine ( ) : void
return void

Property Details

ApplicationName public property

public string ApplicationName
return string