public IAsyncResult BegincloseSession(closeSession closeSession1, AsyncCallback callback, object asyncState) { return this.BeginInvoke("closeSession", new object[1] { (object) closeSession1 }, callback, asyncState); }
public void CloseSession(sessionType session, string publicKey, string secretKey) { closeSession closeSession1 = new closeSession(); DateTime utcNow = DateTime.UtcNow; closeSession1.nonce = Signature.GetNonce(); closeSession1.connectId = session.connectId; closeSession1.signature = Signature.SoapSignature(utcNow, secretKey, "connectservice", "closesession", closeSession1.nonce); closeSession1.timestamp = Signature.GetZDateTime(utcNow); closeSession1.publicKey = publicKey; this.connectService.closeSession(closeSession1); }