IsRestricted() public static method

Determines whether the specified header can be set for the request.
/// is or empty. /// /// contains invalid characters. ///
public static IsRestricted ( string headerName ) : bool
headerName string /// A that represents the name of the header to test. ///
return bool
 public static bool IsRestricted(string headerName)
 {
     return(WebHeaderCollection.IsRestricted(headerName, false));
 }