PowerTCP SSH and SFTP for .NET
Client2ServerMACs Property




Returns a list of MACs available for the client-to-server direction, in order of preference.
Syntax
'Declaration
 
Public Property Client2ServerMACs As String()
'Usage
 
Dim instance As Connection
Dim value() As String
 
instance.Client2ServerMACs = value
 
value = instance.Client2ServerMACs
public string[] Client2ServerMACs {get; set;}
public: __property string*[]* get_Client2ServerMACs();
public: __property void set_Client2ServerMACs( 
   string*[][]* value
);
public:
property array<String^>^ Client2ServerMACs {
   array<String^>^ get();
   void set (    array<String^>^ value);
}
Remarks

By default, the array contains the following strings:

This array can be modified to remove unwanted MACs, or to re-order the list for preference.

The algorithms specified in this array will be backed by the corresponding System.Security.Cryptography classes available under the project's target .NET Framework (up to and including .NET 4.6.2) and runtime OS in the following order of preference: *Cng, *CryptoServiceProvider, *Managed. Only algorithms backed by a System.Security.Cryptography class available under the project's target .NET Framework and runtime OS will be added to this array when the component is created.

Note on FIPS compliance: If the system security policy dictates that only FIPS-certified algorithms may be used, only algorithms backed by FIPS-certified System.Security.Cryptography classes available under the project's target .NET Framework and runtime OS will be added to this array when the component is created. If non-certified algorithms are added to the collection, they will be removed prior to establishing a connection.

See Also

Reference

Connection Class
Connection Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic