We have some customers receiving a warning from AVG Antivirus about our application.
Our application opens the standard NetNamedPipeBinding with WCF in C #, only for interprocess communication.
Is this something we can somehow solve? I am wondering if there is anything we need to indicate that the WCF service is local to the machine only.
Right now, we just set the binding in C # as follows:
var binding = new NetNamedPipeBinding(); binding.MaxReceivedMessageSize = int.MaxValue; binding.MaxReceivedMessageSize = int.MaxValue; binding.ReaderQuotas = XmlDictionaryReaderQuotas.Max; binding.ReceiveTimeout = TimeSpan.MaxValue;
I do not see other important settings, we just call ServiceHost.AddServiceEndpoint
with an address like net.pipe: // localhost / OurEndpoint to establish the binding.
I would like to tell our customers that AVG is a piece of junk - they would be better off putting a rabbit's foot in their floppy drive, but my conscience will not let me.
source share