fix: Setup globally RemoteCertificateValidationCallback
This commit is contained in:
parent
de6285466c
commit
9e253e6f05
@ -41,8 +41,8 @@ namespace ArStomp
|
|||||||
{
|
{
|
||||||
this.certCollection = certCollection;
|
this.certCollection = certCollection;
|
||||||
|
|
||||||
// TODO find alternative method in case of .netstandard2.0
|
// In .netstandard2.0 - setup validator globally
|
||||||
// ws.Options.RemoteCertificateValidationCallback = RemoteCertificateValidationCallback;
|
System.Net.ServicePointManager.ServerCertificateValidationCallback = RemoteCertificateValidationCallback;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user