'Declaration
Public Function New( _ ByVal customNetworkCredential As Boolean, _ ByVal networkCredential As NetworkCredential2 _ )
'Usage
Dim customNetworkCredential As Boolean Dim networkCredential As NetworkCredential2 Dim instance As New NetworkSecurity(customNetworkCredential, networkCredential)
public NetworkSecurity( bool customNetworkCredential, NetworkCredential2 networkCredential )
public: NetworkSecurity( bool customNetworkCredential, NetworkCredential2^ networkCredential )
Parameters
- customNetworkCredential
- Determines whether a client identity specified by networkCredential will be used to impersonate the client.
- networkCredential
- The identity of the security token.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).