PowerTCP SSH and SFTP for .NET
Server2ClientMACs Property




Returns a list of macs available for the server-to-client direction, in order of preference.
Syntax
'Declaration
 
Public Property Server2ClientMACs As String()
'Usage
 
Dim instance As Connection
Dim value() As String
 
instance.Server2ClientMACs = value
 
value = instance.Server2ClientMACs
public string[] Server2ClientMACs {get; set;}
public: __property string*[]* get_Server2ClientMACs();
public: __property void set_Server2ClientMACs( 
   string*[][]* value
);
public:
property array<String^>^ Server2ClientMACs {
   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