System::Net::HttpWebRequest::set_UserAgent method

HttpWebRequest::set_UserAgent method

Sets a value of the ‘User-Agent’ header.

virtual void System::Net::HttpWebRequest::set_UserAgent(System::String value)
ParameterTypeDescription
valueSystem::StringThe value that must be set.

See Also