static AuthenticationPluginManager() { plugins["mysql_native_password"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.MySqlNativePasswordPlugin"); #if !CF plugins["authentication_windows_client"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.MySqlWindowsAuthenticationPlugin"); if (MySqlConfiguration.Settings != null && MySqlConfiguration.Settings.AuthenticationPlugins != null) { foreach (AuthenticationPluginConfigurationElement e in MySqlConfiguration.Settings.AuthenticationPlugins) plugins[e.Name] = new PluginInfo(e.Type); } #endif }
static AuthenticationPluginManager() { plugins["mysql_native_password"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.MySqlNativePasswordPlugin"); plugins["sha256_password"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.Sha256AuthenticationPlugin"); //#if !CF && !RT // plugins["authentication_windows_client"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.MySqlWindowsAuthenticationPlugin"); // if (MySqlConfiguration.Settings != null && MySqlConfiguration.Settings.AuthenticationPlugins != null) // { // foreach (AuthenticationPluginConfigurationElement e in MySqlConfiguration.Settings.AuthenticationPlugins) // plugins[e.Name] = new PluginInfo(e.Type); // } //#endif }
static AuthenticationPluginManager() { plugins["mysql_native_password"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.MySqlNativePasswordPlugin"); plugins["sha256_password"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.Sha256AuthenticationPlugin"); }