Crestron Simpl # and Simpl # Pro Help
Crestron Simpl # and Simpl # Pro Help
Crestron.SimplSharp.CrestronIO
Path Class
Path Methods
ChangeExtension Method
ChangeExtention Method
Combine Method
GetDirectoryName Method
GetExtension Method
GetExtention Method
GetFileName Method
GetFileNameWithExtension Method
GetFileNameWithoutExtension Method
GetFreeSpace Method
GetInvalidPathChars Method
HasExtension Method
IsPathRooted Method
Path
Get
Free
Space Method
Function to return the number of bytes available on the drive of the specified path.
Namespace:
Crestron.SimplSharp.CrestronIO
Assembly:
SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
Copy
public
static
long
GetFreeSpace
(
string
path
)
Parameters
path
String
Path to check free space.
Return Value
Int64
Long integer containing the number of bytes available.
Exceptions
Exception
Condition
InvalidDirectoryLocationException
Invalid path specified.
PathTooLongException
Specified path is too long.
ArgumentException
The specified path contains invalid characters.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also
Reference
Path Class
Crestron.SimplSharp.CrestronIO Namespace