HighTechTalks DotNet Forums  

'System.Net.SslClientStream' does not contain a definition for 'ServerCertValidationCallback'

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss 'System.Net.SslClientStream' does not contain a definition for 'ServerCertValidationCallback' in the Dotnet VJSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Manisha Agarwal
 
Posts: n/a

Default 'System.Net.SslClientStream' does not contain a definition for 'ServerCertValidationCallback' - 05-12-2004 , 05:16 AM






Hell

Can anyone tell me why do i get " 'System.Net.SslClientStream' does not contain a definition for 'ServerCertValidationCallback' " whenever i try to execute my c# code which contains a class having an membe
variable of type "SslClientStream" and trying to set its "ServerCertValidationCallback" property like given example

SslClientStream sslStream
sslStream.ServerCertValidationCallback = 'something'

Thank you
Manisha

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: 'System.Net.SslClientStream' does not contain a definition for 'ServerCertValidationCallback' - 09-03-2004 , 07:31 AM






If a class 'Author' has a properrty 'Name', in J# you would access the
property as

Author at = new Author();
at.set_Name("John");
System.out.println(at.get_Name());

Note that, this is different from how you would access the same property in
C#, similar to what you have done below.

Thank you,
Diganta Roy
Microsoft Visual J# .NET Product Team

--------------------
Quote:
Thread-Topic: 'System.Net.SslClientStream' does not contain a definition
for 'ServerCertValidationCallback'
thread-index: AcQ4AcC9QZUkboywSiSgTi4r0obsiQ==
X-WN-Post: microsoft.public.dotnet.vjsharp
From: =?Utf-8?B?TWFuaXNoYSBBZ2Fyd2Fs?=
anonymous (AT) discussions (DOT) microsoft.com
Subject: 'System.Net.SslClientStream' does not contain a definition for
'ServerCertValidationCallback'
Date: Wed, 12 May 2004 02:16:05 -0700
Lines: 10
Message-ID: <5392E54B-ACD5-4393-B23B-A60F8D4BA21D (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.vjsharp
Path: cpmsftngxa10.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.vjsharp:6024
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.vjsharp

Hello
Can anyone tell me why do i get " 'System.Net.SslClientStream' does not
contain a definition for 'ServerCertValidationCallback' " whenever i try to
execute my c# code which contains a class having an member
variable of type "SslClientStream" and trying to set its
"ServerCertValidationCallback" property like given example :

SslClientStream sslStream ;
sslStream.ServerCertValidationCallback = 'something';

Thank you
Manisha
Quote:


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.