actually i need the maxRequestLength value of the httpRuntime section in web.config to check if a postedfile\'s size is greater. What\'s the best w
maxRequestLength
httpRuntime
You can try something like
HttpRuntimeSection section = ConfigurationManager.GetSection("system.web/httpRuntime") as HttpRuntimeSection;
you can then get section.MaxRequestLength
section.MaxRequestLength