public bool addClass(string appName, string className, string classTitle) { string request = "type=SNP#?version=1.0#?action=add_class#?app=" + appName + "#?class=" + className + "#?title=" + classTitle; SNP.SnarlNetwork(hostName, hostPort, request); return(true); }
public bool notify(string appName, string className, string title, string text, string timeout, string icon) { string request = "type=SNP#?version=1.0#?action=notification#?app=" + appName + "#?class=" + className + "#?title=" + title + "#?text=" + text + "#?timeout=" + timeout + "#?icon=" + icon; SNP.SnarlNetwork(hostName, hostPort, request); return(true); }
public bool unregister(string appName) { string request = "type=SNP#?version=1.0#?action=unregister#?app=" + appName; SNP.SnarlNetwork(hostName, hostPort, request); return(true); }