Initializes a new instance of the class, specifying whether customer network credential will be used.
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Function New( _
   ByVal  As Boolean _
)
             
        
            
            'Usage
 
Dim customNetworkCredential As Boolean
 
Dim instance As New NetworkSecurity(customNetworkCredential)
             
        
            
            public NetworkSecurity( 
   bool 
)
             
        
            
            public:
NetworkSecurity( 
   bool 
)
             
        
             
        
            Parameters
- customNetworkCredential
- Determines whether a custom client identity specified by will be used to impersonate the client.
 
            
            
            
            
            
            
            
            
            
            Requirements
 
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
            
            See Also