FileDescriptionExtension Property
Gets the file extension.

Namespace: GroupDocs.Viewer.Domain
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
Syntax
public string Extension { get; }

Property Value

Type: String
The file extension.
Examples
The following example demonstrates how to get extension of the file.
C#
string guid = @"C:\storage\document.doc";
FileDescription fileDescription = new FileDescription(guid);
Console.WriteLine(fileDescription.Extension);
//Result will be ".doc".
See Also