Click here to Skip to main content
15,908,581 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionplaying real media and quicktime files in .NET Pin
Vineet Rajan1-Aug-06 5:12
Vineet Rajan1-Aug-06 5:12 
AnswerRe: playing real media and quicktime files in .NET Pin
Dave Kreskowiak1-Aug-06 5:58
mveDave Kreskowiak1-Aug-06 5:58 
QuestionVisual studio 2005 installation question Pin
Jetli Jerry1-Aug-06 0:42
Jetli Jerry1-Aug-06 0:42 
AnswerRe: Visual studio 2005 installation question Pin
Mike Dimmick1-Aug-06 1:08
Mike Dimmick1-Aug-06 1:08 
GeneralRe: Visual studio 2005 installation question Pin
Jetli Jerry1-Aug-06 18:58
Jetli Jerry1-Aug-06 18:58 
Question.Net 2.0 Pin
Kanjinghat31-Jul-06 23:29
Kanjinghat31-Jul-06 23:29 
QuestionGetting underlaying String through a StringToken Pin
Don Teflon31-Jul-06 21:10
Don Teflon31-Jul-06 21:10 
QuestionSystem.DirectoryServices and SSL Certificate Policies Pin
serious-sam31-Jul-06 20:10
serious-sam31-Jul-06 20:10 
Hi all,

I am interested in the way SSL Certificates are validated when using SecureSocketsLayer authentication to access a directory service over LDAP. Without going too much into it, this is what works:

DirectoryEntry searchRoot = new DirectoryEntry(location, username, password,<br />
        AuthenticationTypes.SecureSocketsLayer);<br />
object nativeObject = m_searchRoot.NativeObject;<br />
searchRoot.RefreshCache();


Of course, it only works when correct certificates are installed on the machine attempting to execute this code. If the certificates are not installed, then the SSL connection supporting the DirectoryEntry fails with a COMException, claiming the server is not operational.

I would like to find where exactly the certificate is being checked, so I can override the validation behaviour.

I need something similar to what is described here, but applies to a DirectoryEntry. The approach specified in the link doesn't solve my problem -- it doesn't seem like the System.Net.ServicePointManager.CertificatePolicy is used at all in my code.

Does anyone have any ideas? Thanks in advance.

Cheers,
Misha
QuestionIntercepting Data Pin
Rabbit1731-Jul-06 12:52
Rabbit1731-Jul-06 12:52 
AnswerRe: Intercepting Data Pin
Dave Kreskowiak1-Aug-06 6:01
mveDave Kreskowiak1-Aug-06 6:01 
GeneralRe: Intercepting Data Pin
Rabbit171-Aug-06 12:51
Rabbit171-Aug-06 12:51 
GeneralRe: Intercepting Data Pin
Dave Kreskowiak1-Aug-06 17:12
mveDave Kreskowiak1-Aug-06 17:12 
GeneralRe: Intercepting Data Pin
Rabbit172-Aug-06 7:16
Rabbit172-Aug-06 7:16 
Questionprogrammable pdf? Pin
owens_steve31-Jul-06 8:22
owens_steve31-Jul-06 8:22 
AnswerRe: programmable pdf? Pin
Ed.Poore31-Jul-06 9:56
Ed.Poore31-Jul-06 9:56 
Questionhow to find CMS??? Pin
M I L A N I30-Jul-06 1:34
M I L A N I30-Jul-06 1:34 
AnswerRe: how to find CMS??? Pin
Paddy Boyd30-Jul-06 23:04
Paddy Boyd30-Jul-06 23:04 
QuestionError with adding a typed dataset to a win form Pin
Ross Petersen30-Jul-06 1:00
Ross Petersen30-Jul-06 1:00 
QuestionTo you ,smart ones. Pin
RoyiNamir30-Jul-06 0:16
RoyiNamir30-Jul-06 0:16 
AnswerRe: To you ,smart ones. Pin
Robert Rohde30-Jul-06 4:21
Robert Rohde30-Jul-06 4:21 
AnswerRe: To you ,smart ones. Pin
NrmMyth30-Jul-06 5:31
NrmMyth30-Jul-06 5:31 
AnswerRe: To you ,smart ones. Pin
Guffa31-Jul-06 3:11
Guffa31-Jul-06 3:11 
AnswerRe: To you ,smart ones. Pin
Igor Sukhov1-Aug-06 17:18
Igor Sukhov1-Aug-06 17:18 
Questionmedia player control Pin
Vineet Rajan29-Jul-06 6:41
Vineet Rajan29-Jul-06 6:41 
QuestionBULKY CRYSTAL REPORT Pin
Chintan Parikh29-Jul-06 5:14
Chintan Parikh29-Jul-06 5:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.