C# Class SnarlNetworkProtocol.SNP

显示文件 Open project: TlhanGhun/Snarl-Network-Protocol-Csharp Class Usage Examples

Public Methods

Method Description
SNP ( string hostname, int hostport ) : System
SnarlNetwork ( string hostName, int hostPort ) : void
addClass ( string appName, string className, string classTitle ) : bool
isSnarlRunning ( ) : bool
notify ( string appName, string className, string title, string text, string timeout, string icon ) : bool
register ( string appName ) : bool
unregister ( string appName ) : bool

Private Methods

Method Description
FindWindow ( string lpClassName, string lpWindowName ) : IntPtr
IsWindow ( IntPtr hWnd ) : bool
SnarlNetwork ( string hostName, int hostPort, string request ) : void

Method Details

SNP() public method

public SNP ( string hostname, int hostport ) : System
hostname string
hostport int
return System

SnarlNetwork() public method

public SnarlNetwork ( string hostName, int hostPort ) : void
hostName string
hostPort int
return void

addClass() public method

public addClass ( string appName, string className, string classTitle ) : bool
appName string
className string
classTitle string
return bool

isSnarlRunning() public method

public isSnarlRunning ( ) : bool
return bool

notify() public method

public notify ( string appName, string className, string title, string text, string timeout, string icon ) : bool
appName string
className string
title string
text string
timeout string
icon string
return bool

register() public method

public register ( string appName ) : bool
appName string
return bool

unregister() public method

public unregister ( string appName ) : bool
appName string
return bool