OfficeHelper.GetProductName Method

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

GetProductName(String)

Gets the name of the Office product that can open the filetype specified by path (e.i. Word, Excel, PowerPoint).

public static string GetProductName(string path)

Parameters

path
System.String

Returns

System.String

The Office product name or null if no product was found.