Table of Contents

Method GetAppSubFolder

Namespace
Alternet.UI
Assembly
Alternet.UI.Interfaces.dll

GetAppSubFolder(string, bool)

Gets sub-folder path in the application folder.

public static string GetAppSubFolder(string subFolder, bool create = false)

Parameters

subFolder string

Name of the sub folder.

create bool

Specifies whether to create sub-folder if it doesn't exist.

Returns

string

Remarks

Application folder is combined with the subFolder using Combine(string, string) and converted to the full path using GetFullPath(string). If result path doesn't exist, an application folder is returned.