Click or drag to resize
FileSystemInfoExtension Property
Gets the string representing the extension part of the file.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public string Extension { get; }

Property Value

Type: String
A string containing the FileSystemInfo extension.
Remarks

The Extension property returns the FileSystemInfo extension, including the period (.).

For example, for a file c:\NewFile.txt, this property returns ".txt".

See Also