Skip to content

Method GetExtension

Namespace: Belay.Sync
Assembly: Belay.Sync.dll

GetExtension(string)

Gets the extension of the specified path.

csharp
public static string GetExtension(string path)

Parameters

path string

The path to get the extension from.

Returns

string

The file extension including the dot, or empty string if no extension.

Released under the Apache License 2.0.