Skip to content

Commit 6b4ff8d

Browse files
Don't expose TrustedCertificatesDirectory() and StartNewTlsSessionContext() to NetFx (#114995)
Co-authored-by: Steve Harter <[email protected]>
1 parent a33e1ff commit 6b4ff8d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libraries/System.DirectoryServices.Protocols/ref/System.DirectoryServices.Protocols.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,10 @@ public partial class LdapSessionOptions
382382
internal LdapSessionOptions() { }
383383
public bool AutoReconnect { get { throw null; } set { } }
384384
public string DomainName { get { throw null; } set { } }
385+
#if NET
385386
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("windows")]
386387
public string TrustedCertificatesDirectory { get { throw null; } set { } }
388+
#endif
387389
public string HostName { get { throw null; } set { } }
388390
public bool HostReachable { get { throw null; } }
389391
public System.DirectoryServices.Protocols.LocatorFlags LocatorFlag { get { throw null; } set { } }
@@ -404,8 +406,10 @@ internal LdapSessionOptions() { }
404406
public bool Signing { get { throw null; } set { } }
405407
public System.DirectoryServices.Protocols.SecurityPackageContextConnectionInformation SslInformation { get { throw null; } }
406408
public int SspiFlag { get { throw null; } set { } }
409+
#if NET
407410
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("windows")]
408411
public void StartNewTlsSessionContext() { }
412+
#endif
409413
public bool TcpKeepAlive { get { throw null; } set { } }
410414
public System.DirectoryServices.Protocols.VerifyServerCertificateCallback VerifyServerCertificate { get { throw null; } set { } }
411415
public void FastConcurrentBind() { }

0 commit comments

Comments
 (0)