private void CheckRestricted(string name) { if (!this.internallyCreated && WebHeaderCollection.ContainsInRestricted(name, true)) { throw new ArgumentException("This header must be modified with the appropiate property."); } }
public static bool IsRestricted(string headerName, bool response) { return(WebHeaderCollection.ContainsInRestricted(WebHeaderCollection.CheckName(headerName), response)); }