Sets the UserAgent property. This property may be overridden if
the User-Agent header is set in a request. If the parameter is empty
the User Agent will not be updated and the current User Agent will remain.
Returns HRESULT_FROM_WIN32(ERROR_INVALID_STATE) if the owning WebView is
closed.
Sets the UserAgent property. This property may be overridden if the User-Agent header is set in a request. If the parameter is empty the User Agent will not be updated and the current User Agent will remain. Returns HRESULT_FROM_WIN32(ERROR_INVALID_STATE) if the owning WebView is closed.