Beispiel #1
0
 public ServiceEndpoint()
 {
     client = new WslAntiMalwareSystemServiceEndpointClient();
     client.OnMessageReceived   += OnMessageReceived;
     client.OnDetectionReceived += OnDetection;
     client.RegisterClientAsync("WslAntiMalware");
     //client.InnerChannel.Closed += (sender, e) => Debug.WriteLine("asdf");
     //client.InnerChannel.Faulted += (sender, e) => Debug.WriteLine("asdfsff");
 }
Beispiel #2
0
 public void Initialize(WslAntiMalwareSystemServiceEndpointClient proxy)
 {
     this.proxy = proxy;
 }