Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / SFtpSession Class / ToSFtpFileAttributes Method
The System.IO.FileAttributes values to convert.


In This Topic
    ToSFtpFileAttributes Method
    In This Topic
    Converts System.IO.FileAttributes to Xceed.SSH.SFtp.SFtpConstants.
    Syntax
    'Declaration
     
    Public Shared Function ToSFtpFileAttributes( _
       ByVal attributes As FileAttributes _
    ) As SFtpConstants.FileAttributeBits
    'Usage
     
    Dim attributes As FileAttributes
    Dim value As SFtpConstants.FileAttributeBits
     
    value = SFtpSession.ToSFtpFileAttributes(attributes)
    public static SFtpConstants.FileAttributeBits ToSFtpFileAttributes( 
       FileAttributes attributes
    )

    Parameters

    attributes
    The System.IO.FileAttributes values to convert.

    Return Value

    The passed values converted to Xceed.SSH.SFtp.SFtpConstants.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also