fix: Setup globally RemoteCertificateValidationCallback
This commit is contained in:
		@@ -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;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user