@@ -348,7 +348,7 @@ public void RemoveEndPoint(ProxyEndPoint endPoint)
348348 /// <param name="endPoint"></param>
349349 public void SetAsSystemHttpProxy ( ExplicitProxyEndPoint endPoint )
350350 {
351- if ( RunTime . IsRunningOnMono ( ) )
351+ if ( RunTime . IsRunningOnMono )
352352 {
353353 throw new Exception ( "Mono Runtime do not support system proxy settings." ) ;
354354 }
@@ -375,7 +375,7 @@ public void SetAsSystemHttpProxy(ExplicitProxyEndPoint endPoint)
375375 /// <param name="endPoint"></param>
376376 public void SetAsSystemHttpsProxy ( ExplicitProxyEndPoint endPoint )
377377 {
378- if ( RunTime . IsRunningOnMono ( ) )
378+ if ( RunTime . IsRunningOnMono )
379379 {
380380 throw new Exception ( "Mono Runtime do not support system proxy settings." ) ;
381381 }
@@ -416,7 +416,7 @@ public void SetAsSystemHttpsProxy(ExplicitProxyEndPoint endPoint)
416416 /// </summary>
417417 public void DisableSystemHttpProxy ( )
418418 {
419- if ( RunTime . IsRunningOnMono ( ) )
419+ if ( RunTime . IsRunningOnMono )
420420 {
421421 throw new Exception ( "Mono Runtime do not support system proxy settings." ) ;
422422 }
@@ -429,7 +429,7 @@ public void DisableSystemHttpProxy()
429429 /// </summary>
430430 public void DisableSystemHttpsProxy ( )
431431 {
432- if ( RunTime . IsRunningOnMono ( ) )
432+ if ( RunTime . IsRunningOnMono )
433433 {
434434 throw new Exception ( "Mono Runtime do not support system proxy settings." ) ;
435435 }
@@ -442,7 +442,7 @@ public void DisableSystemHttpsProxy()
442442 /// </summary>
443443 public void DisableAllSystemProxies ( )
444444 {
445- if ( RunTime . IsRunningOnMono ( ) )
445+ if ( RunTime . IsRunningOnMono )
446446 {
447447 throw new Exception ( "Mono Runtime do not support system proxy settings." ) ;
448448 }
@@ -474,8 +474,9 @@ public void Start()
474474
475475 CertificateManager . ClearIdleCertificates ( CertificateCacheTimeOutMinutes ) ;
476476
477- if ( ! RunTime . IsRunningOnMono ( ) )
477+ if ( ! RunTime . IsRunningOnMono )
478478 {
479+ //clear orphaned windows auth states every 2 minutes
479480 WinAuthEndPoint . ClearIdleStates ( 2 ) ;
480481 }
481482
0 commit comments