Click or drag to resize

FileInfo Constructor

Initialize the FileInfo class with the specified file name.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public FileInfo(
	string fileName
)

Parameters

fileName  String
Full path file name.
Exceptions
ExceptionCondition
InvalidDirectoryLocationExceptionThe directory specified is invalid.
PathTooLongExceptionThe path is greater than 248 characters.
UnauthorizedAccessExceptionThe user does not have access to the specified directory.
ArgumentExceptionThe path specified contains invalid characters.
ArgumentNullExceptionThe path is null.
SecurityExceptionAccess denied to this file.
NotSupportedExceptionThe system does not support access to this file type.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also