File Class

Works with the files.
public class File
This language is not supported or no code example is available.
Methods
 
Name Description
Public method Static CreateBackup(string, string, bool) Creates the file backup.
Public method Static CreateShortcut(string, string, string) Creates the shortcut.
Public method Static DeleteForever(string) Deletes the file forever.
Public method Static DeleteToRecycleBin(string) Deletes the file to Recycle Bin.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (inherited from Object).
Public method Static ExtractIconFromExecutable(string) Extracts the icon from executable (EXE).
Public method Static ExtractIconFromFile(string) Retrieves an Icon from an ICO or EXE file.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as a hash function for a particular type. (inherited from Object).
Public method Static GetMD5(string) Gets the MD5 from file.
Public method Static GetText(string) Gets the text from file.
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method Static IsPeExe(string) Is this a PE file.
Public method Static Join(string, string) Joins the files as one.
Public method Static LoadCustomFont(string, float, FontStyle) Loads the custom font from file.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Static NameGenerator(string, string) Files name generator.
Public method Static Print(string) Prints the file.
Public method Static SaveTextDialog(string, string, string) Saves the text dialog.
Public method Static ShowInExplorer(string) Shows the file in Windows Explorer.
Public method Static Split(string, string, int) Splits the file as many.
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method Static Unzip(string, string) Unzip the zip file.
Public method Static WriteTextAsUTF8_ToTemp(string, string) Writes the text to file as UTF-8 to temp folder.
Top
VitNX3.Functions.FileSystem.File

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

.NET Core

Supported in: 5.0+, 6.0+

In this article

Definition