FileHelper.GetKind Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

GetKind(string)

Returns the kind of a file, e.g. "image", "document", "video" etc.

public static string GetKind(string filename)

Parameters

filename
string

The name of the file.

Returns

string

A string describing the file kind.