public static bool OpenScreenRecordingClient() { try { chHTTPScreenRecordingChannel = (IHTTPScreenRecordingService)bhcHttpScreenRecordingService.OpenClient <IHTTPScreenRecordingService>("http://" + VMuktiInfo.CurrentPeer.SuperNodeIP + ":80/VMukti/ScreenRecording"); chHTTPScreenRecordingChannel.svcJoin(VMuktiAPI.VMuktiInfo.CurrentPeer.DisplayName); return(true); } catch (Exception exp) { exp.Data.Add("My Key", "OpenScreenRecordingClient()--:--ClsScreenRecordingClient.cs--:--" + exp.Message + " :--:--"); ClsException.LogError(exp); ClsException.WriteToErrorLogFile(exp); return(false); } }
public static bool OpenScreenRecordingClient() { try { chHTTPScreenRecordingChannel = (IHTTPScreenRecordingService)bhcHttpScreenRecordingService.OpenClient<IHTTPScreenRecordingService>("http://" + VMuktiInfo.CurrentPeer.SuperNodeIP + ":80/VMukti/ScreenRecording"); chHTTPScreenRecordingChannel.svcJoin(VMuktiAPI.VMuktiInfo.CurrentPeer.DisplayName); return true; } catch (Exception exp) { exp.Data.Add("My Key", "OpenScreenRecordingClient()--:--ClsScreenRecordingClient.cs--:--" + exp.Message + " :--:--"); ClsException.LogError(exp); ClsException.WriteToErrorLogFile(exp); return false; } }