Jaa


BotConfiguration.LoadFromFolder(String, String) Method

Definition

Load the bot configuration by looking in a folder and loading the first .bot file in the folder.

public static Microsoft.Bot.Configuration.BotConfiguration LoadFromFolder (string folder, string secret = default);
static member LoadFromFolder : string * string -> Microsoft.Bot.Configuration.BotConfiguration
Public Shared Function LoadFromFolder (folder As String, Optional secret As String = Nothing) As BotConfiguration

Parameters

folder
String

Folder to look for bot files.

secret
String

Secret to use to encrypt keys.

Returns

BotConfiguration.

Applies to