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
System.String

Returns

System.String

A string describing the file kind.