BotConfiguration.LoadFromFolder(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.