public sealed class UtilFile
Public NotInheritable Class UtilFile
Dim instance As UtilFile
public ref class UtilFile sealed
[<SealedAttribute>]
type UtilFile = class end
No code example is currently available or this language may not be supported.
AddAttributes(FileInfo, FileAttributes) | Adss file-attribute(s) to the specified file. |
AddAttributes(String, FileAttributes) | Adss file-attribute(s) to the specified file. |
Compare(FileInfo, FileInfo) | Compares two files byte by byte to determine if they are equals. |
Compare(String, String) | Compares two files byte by byte to determine if they are equals. |
CreateDummyFile(String) | Creates a dummy (zero-byte filled) file of zero size. |
CreateDummyFile(String, Int64) | Creates a dummy (zero-byte filled) file of the specified filesize. |
CreateSymbolicLink(FileInfo, DirectoryInfo) | Creates a symbolic link of the specified file. |
CreateSymbolicLink(FileInfo, String) | Creates a symbolic link of the specified file. |
CreateSymbolicLink(String, DirectoryInfo) | Creates a symbolic link of the specified file. |
CreateSymbolicLink(String, String) | Creates a symbolic link of the specified file. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
FileExists | Determines whether the specified path points to a existing file. |
GetAttributes | Gets the attributes of a file. |
GetFilePaths(DirectoryInfo, SearchOption, IEnumerableString, IEnumerableString, Boolean, Boolean) | Gets the filepaths those matches the criteria inside the specified directory and/or sub-directories. |
GetFilePaths(String, SearchOption, IEnumerableString, IEnumerableString, Boolean, Boolean) | Gets the filepaths those matches the criteria inside the specified directory and/or sub-directories. |
GetFiles(DirectoryInfo, SearchOption, IEnumerableString, IEnumerableString, Boolean, Boolean) | Gets the files those matches the criteria inside the specified directory and/or sub-directories. |
GetFiles(String, SearchOption, IEnumerableString, IEnumerableString, Boolean, Boolean) | Gets the files those matches the criteria inside the specified directory and/or sub-directories. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetSize | Gets the size of a file, in bytes. |
GetSymbolicLinkTarget(FileInfo) | Gets the target of the specified symbolic link. |
GetSymbolicLinkTarget(String) | Gets the target of the specified symbolic link. |
GetTempFile | Creates a uniquely named, zero-byte temporary file on the system's default temporary folder and returns the file. |
GetTempFile(DirectoryInfo) | Creates a uniquely named, zero-byte temporary file on the specified folder and returns the file. |
GetTempFile(EnvironmentSpecialFolder) | Creates a uniquely named, zero-byte temporary file on the specified folder and returns the file. |
GetTempFile(String) | Creates a uniquely named, zero-byte temporary file on the system's default temporary folder with the specified file extension and returns the file. |
GetTempFile(DirectoryInfo, String) | Creates a uniquely named, zero-byte temporary file on the specified folder with the specified file extension and returns the file. |
GetTempFile(EnvironmentSpecialFolder, String) | Creates a uniquely named, zero-byte temporary file on the specified folder with the specified file extension and returns the file. |
GetTempFile(String, String) | Creates a uniquely named, zero-byte temporary file on the specified folder with the specified file extension and returns the file. |
GetTempFileName | Creates a uniquely named, zero-byte temporary file on the system's default temporary folder and returns the file path. |
GetTempFileName(DirectoryInfo) | Creates a uniquely named, zero-byte temporary file on the specified folder and returns the file path. |
GetTempFileName(EnvironmentSpecialFolder) | Creates a uniquely named, zero-byte temporary file on the specified folder and returns the file path. |
GetTempFileName(String) | Creates a uniquely named, zero-byte temporary file on the system's default temporary folder with the specified file extension and returns the file path. |
GetTempFileName(DirectoryInfo, String) | Creates a uniquely named, zero-byte temporary file on the specified folder with the specified file extension and returns the file path. |
GetTempFileName(EnvironmentSpecialFolder, String) | Creates a uniquely named, zero-byte temporary file on the specified folder with the specified file extension and returns the file path. |
GetTempFileName(String, String) | Creates a uniquely named, zero-byte temporary file on the specified folder with the specified file extension and returns the file path. |
GetType | Gets the Type of the current instance. (Inherited from Object) |
HasAttributes(FileInfo, FileAttributes) | Gets a value indicating whether a file contains the specified file-attribute(s). |
HasAttributes(String, FileAttributes) | Gets a value indicating whether a file contains the specified file-attribute(s). |
HasRights(FileInfo, FileSystemRights, AccessControlType) | Determines whether a file contains the specified user-rights. |
HasRights(String, FileSystemRights, AccessControlType) | Determines whether a file contains the specified user-rights. |
IsSymbolicLink(FileInfo) | Determines whether whether the specified file is a symbolic link. |
IsSymbolicLink(String) | Determines whether whether the specified file is a symbolic link. |
OpenInExplorer(FileInfo) | Opens the specified file in Explorer. |
OpenInExplorer(String) | Opens the specified file in Explorer. |
PreloadInThumbnailCache | Preloads the thumbnail of a file into Windows Thumbnail Cache system files (Thumbcache_xxx.db). |
RemoveAttributes(FileInfo, FileAttributes) | Removes file-attribute(s) from the specified file. |
RemoveAttributes(String, FileAttributes) | Removes file-attribute(s) from the specified file. |
RenameIncremental | Renames all the files of a directory, by enumerating them. |
SetAttributes(FileInfo, FileAttributes) | Sets the file-attribute(s) of the specified file. |
SetAttributes(String, FileAttributes) | Sets the file-attribute(s) of the specified file. |
SetRights(FileInfo, FileSystemRights, AccessControlType) | Sets the user-rights of a file. |
SetRights(String, FileSystemRights, AccessControlType) | Sets the user-rights of a file. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |