RSS 2.0 Feed
2005-12 Entries
摘要:最近CSDN在为各个版主设计书签活动,请到了一位网名为“苹果”设计师。浏览过她的网站“苹果树下的童话(http://appleshow.cc/)”后,感觉她才气横溢。看了她根据照片画的几位版主的头像,几位的神韵跃然屏上,画得真是唯妙唯肖,感觉她的功底非凡。...[阅读全文]

posted @ | Feedback (24) | Filed Under [ 杂类 ]

摘要:.NET 1.1里, using System.Configuration;using System.Web.Configuration;using System.Reflection; public AuthenticationMode GetAuthenticationMode() {  object auth = ConfigurationSettings.GetConfig("system.web/authentication");  if (auth!= null)  {  //an internal class "System.Web.Configuration.AuthenticationConfig" Type t = auth.GetType();  PropertyInfo pi = t.GetProperty("Mode",BindingFlags.Instance|BindingFlags.NonPublic);  return (AuthenticationMode)pi.GetValue(auth,null);   }   return AuthenticationMode.None; } .NET 2.0里, using System.Configuration;using System.Web.Configuration; public AuthenticationMode GetAuthenticationMode() {         Configuration config = WebConfigurationManager.OpenWebConfiguration("~");         SystemWebSectionGroup swsg = (SystemWebSectionGroup)config.GetSectionGroup("system.web");         AuthenticationSection auth = swsg.Authentication;  return auth.Mode;}...[阅读全文]

posted @ | Feedback (4) | Filed Under [ ASP.NET/IIS ]