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"); }
public void Initialize(WslAntiMalwareSystemServiceEndpointClient proxy) { this.proxy = proxy; }