Xceed .NET Libraries Documentation
DefaultAutomaticReadFileShare Property


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SFtpFile Class : DefaultAutomaticReadFileShare Property
Gets a value indicating the default FileShare value to be used when opening read streams for copy/move operations.
Syntax
'Declaration
 
Public Shared ReadOnly Property DefaultAutomaticReadFileShare As FileShare
'Usage
 
Dim value As FileShare
 
value = SFtpFile.DefaultAutomaticReadFileShare
public static FileShare DefaultAutomaticReadFileShare {get;}

Property Value

A System.IO.FileShare value representing the default value to be used when opening read streams for copy/move operations. The default value is the DefaultReadFileShare constant.
Example
Handling FileShare values with SFtpFile
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

Reference

SFtpFile Class
SFtpFile Members

Information

Handling File Sharing Issues