C# Class CustomizedClickOnce.Common.ClickOnceHelper

Exibir arquivo Open project: IvanLeonenko/CustomizedClickOnce Class Usage Examples

Private Properties

Property Type Description
GetShortcutPath string
GetStartupShortcutPath string
GetUninstallRegistryKeyByProductName Microsoft.Win32.RegistryKey
PostMessage bool
RemoveShortcutFromStartup void
RespondToClickOnceRemovalDialog void
SetForegroundWindow bool
SetHelpLink void
SetNoModify void
SetNoRepair void
SetURLInfoAbout void
UpdateDisplayIcon void
UpdateUninstallString void

Public Methods

Method Description
AddShortcutToStartup ( ) : void
ClickOnceHelper ( string publisherName, string productName ) : System
Uninstall ( ) : void
UpdateUninstallParameters ( ) : void

Private Methods

Method Description
GetShortcutPath ( ) : string
GetStartupShortcutPath ( ) : string
GetUninstallRegistryKeyByProductName ( string productName ) : RegistryKey
PostMessage ( IntPtr hWnd, [ Msg, IntPtr wParam, IntPtr lParam ) : bool
RemoveShortcutFromStartup ( ) : void
RespondToClickOnceRemovalDialog ( ) : void
SetForegroundWindow ( IntPtr hWnd ) : bool
SetHelpLink ( ) : void
SetNoModify ( ) : void
SetNoRepair ( ) : void
SetURLInfoAbout ( ) : void
UpdateDisplayIcon ( ) : void
UpdateUninstallString ( ) : void

Method Details

AddShortcutToStartup() public method

public AddShortcutToStartup ( ) : void
return void

ClickOnceHelper() public method

public ClickOnceHelper ( string publisherName, string productName ) : System
publisherName string
productName string
return System

Uninstall() public method

public Uninstall ( ) : void
return void

UpdateUninstallParameters() public method

public UpdateUninstallParameters ( ) : void
return void