KGy SOFT

Files Class

KGy SOFT Core Libraries Help
Contains file-related methods.
Inheritance Hierarchy

SystemObject
  KGySoft.CoreLibrariesFiles

Namespace:  KGySoft.CoreLibraries
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.0.0-rc.1
Syntax

public static class Files

The Files type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCanCreate
Checks whether a file can be created with given name.
Public methodStatic memberGetExecutingPath
Gets the real full path of the directory, where the executing application resides.
Public methodStatic memberGetNextFileName
Returns path if a file with specified name does not exist yet. Otherwise, returns the first non-existing file name with a number postfix.
Public methodStatic memberGetRelativePath
Gets the relative path to target from the baseDirectory.
Public methodStatic memberIsWildcardMatch
Returns whether a wildcarded pattern matches a file name.
Top
See Also

Reference