コード例 #1
0
      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
      }
コード例 #2
0
 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
 }
コード例 #3
0
 static AuthenticationPluginManager()
 {
     plugins["mysql_native_password"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.MySqlNativePasswordPlugin");
     plugins["sha256_password"]       = new PluginInfo("MySql.Data.MySqlClient.Authentication.Sha256AuthenticationPlugin");
 }
コード例 #4
0
 static AuthenticationPluginManager()
 {
     plugins["mysql_native_password"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.MySqlNativePasswordPlugin");
     plugins["sha256_password"] = new PluginInfo("MySql.Data.MySqlClient.Authentication.Sha256AuthenticationPlugin");
 }