all groups > vj# > may 2004 >
You're in the

vj#

group:

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


'System.Net.SslClientStream' does not contain a definition for 'ServerCertValidationCallback' Manisha Agarwal
5/12/2004 2:16:05 AM
vj#: 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
RE: 'System.Net.SslClientStream' does not contain a definition for 'ServerCertValidationCallback' diganta.vjcr NO[at]SPAM online.microsoft.com
9/3/2004 11:31:45 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

--------------------
[quoted text, click to view]

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
[quoted text, click to view]
AddThis Social Bookmark Button