I have below code for GET request -
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method="GET";
request.Timeout=300000;
X509Certificate2 certificate= new X509Certificate2(path,password);
request.ClientCertificates.Add(certificate);
While adding certificate I am getting Error -
Self Referencing loop detected for property 'manifestmodule' with type 'System.Reflection.RuntimeModule' Path 'Exception.Targetsite.Module.Assembly'
I searched on internet with respect to this error , but its general occurance is while using / parsing json which I am nowhere doing in my code.
I am using .NET core - 2.1.1