<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_by_API%2FSystem.Net%2FWebRequest</id>
		<title>VB.Net by API/System.Net/WebRequest - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_by_API%2FSystem.Net%2FWebRequest"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Net/WebRequest&amp;action=history"/>
		<updated>2026-04-05T22:27:41Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Net/WebRequest&amp;diff=2097&amp;oldid=prev</id>
		<title> в 16:40, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Net/WebRequest&amp;diff=2097&amp;oldid=prev"/>
				<updated>2010-05-26T16:40:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 16:40, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Net/WebRequest&amp;diff=2098&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_by_API/System.Net/WebRequest&amp;diff=2098&amp;oldid=prev"/>
				<updated>2010-05-26T12:49:47Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==WebRequest.Address==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;Address: &amp;quot; &amp;amp; httpReq.Address.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;AllowAutoRedirect: &amp;quot; &amp;amp; httpReq.AllowAutoRedirect.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;AllowWriteStreamBuffering: &amp;quot; &amp;amp; httpReq.AllowWriteStreamBuffering.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;ClientCertificates: &amp;quot; &amp;amp; httpReq.ClientCertificates.ToString)&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.AllowAutoRedirect==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;Address: &amp;quot; &amp;amp; httpReq.Address.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;AllowAutoRedirect: &amp;quot; &amp;amp; httpReq.AllowAutoRedirect.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;AllowWriteStreamBuffering: &amp;quot; &amp;amp; httpReq.AllowWriteStreamBuffering.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;ClientCertificates: &amp;quot; &amp;amp; httpReq.ClientCertificates.ToString)&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.AllowWriteStreamBuffering==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;Address: &amp;quot; &amp;amp; httpReq.Address.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;AllowAutoRedirect: &amp;quot; &amp;amp; httpReq.AllowAutoRedirect.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;AllowWriteStreamBuffering: &amp;quot; &amp;amp; httpReq.AllowWriteStreamBuffering.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;ClientCertificates: &amp;quot; &amp;amp; httpReq.ClientCertificates.ToString)&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.ClientCertificates==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;Address: &amp;quot; &amp;amp; httpReq.Address.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;AllowAutoRedirect: &amp;quot; &amp;amp; httpReq.AllowAutoRedirect.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;AllowWriteStreamBuffering: &amp;quot; &amp;amp; httpReq.AllowWriteStreamBuffering.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;ClientCertificates: &amp;quot; &amp;amp; httpReq.ClientCertificates.ToString)&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.Connection==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.Connection &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;Connection: &amp;quot; &amp;amp; httpReq.Connection.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ConnectionGroupName &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ConnectionGroupName: &amp;quot; &amp;amp; httpReq.ConnectionGroupName.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ContentLength &amp;lt;&amp;gt; -1 Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ContentLength: &amp;quot; &amp;amp; httpReq.ContentLength.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ContentType &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ContentType: &amp;quot; &amp;amp; httpReq.ContentType.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.ConnectionGroupName==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.Connection &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;Connection: &amp;quot; &amp;amp; httpReq.Connection.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ConnectionGroupName &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ConnectionGroupName: &amp;quot; &amp;amp; httpReq.ConnectionGroupName.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ContentLength &amp;lt;&amp;gt; -1 Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ContentLength: &amp;quot; &amp;amp; httpReq.ContentLength.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ContentType &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ContentType: &amp;quot; &amp;amp; httpReq.ContentType.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.ContentLength==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.Connection &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;Connection: &amp;quot; &amp;amp; httpReq.Connection.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ConnectionGroupName &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ConnectionGroupName: &amp;quot; &amp;amp; httpReq.ConnectionGroupName.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ContentLength &amp;lt;&amp;gt; -1 Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ContentLength: &amp;quot; &amp;amp; httpReq.ContentLength.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ContentType &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ContentType: &amp;quot; &amp;amp; httpReq.ContentType.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.ContentType==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.Connection &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;Connection: &amp;quot; &amp;amp; httpReq.Connection.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ConnectionGroupName &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ConnectionGroupName: &amp;quot; &amp;amp; httpReq.ConnectionGroupName.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ContentLength &amp;lt;&amp;gt; -1 Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ContentLength: &amp;quot; &amp;amp; httpReq.ContentLength.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
          If httpReq.ContentType &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;ContentType: &amp;quot; &amp;amp; httpReq.ContentType.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.Create==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.IO&lt;br /&gt;
Imports System.Net&lt;br /&gt;
Public Class MainClass&lt;br /&gt;
    Public Shared Sub Main()&lt;br /&gt;
        Try&lt;br /&gt;
          Dim theURL As New Uri(&amp;quot;http://www.amazon.ru/exec/obidos/ASIN/1893115992&amp;quot;)&lt;br /&gt;
          Dim theRequest As WebRequest&lt;br /&gt;
          theRequest = WebRequest.Create(theURL)&lt;br /&gt;
          Dim theResponse As WebResponse&lt;br /&gt;
          theResponse = theRequest.GetResponse&lt;br /&gt;
          Dim aReader As New StreamReader(theResponse.GetResponseStream())&lt;br /&gt;
          Dim theData As String&lt;br /&gt;
          theData = aReader.ReadToEnd&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;Getting Amazon rank for ISBN # 1893115992&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(theData)&lt;br /&gt;
    &lt;br /&gt;
        Catch E As Exception&lt;br /&gt;
          Console.WriteLine(E.StackTrace)&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.GetResponse==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.IO&lt;br /&gt;
Imports System.Net&lt;br /&gt;
Public Class MainClass&lt;br /&gt;
    Public Shared Sub Main()&lt;br /&gt;
        Try&lt;br /&gt;
          Dim theURL As New Uri(&amp;quot;http://www.amazon.ru/exec/obidos/ASIN/1893115992&amp;quot;)&lt;br /&gt;
          Dim theRequest As WebRequest&lt;br /&gt;
          theRequest = WebRequest.Create(theURL)&lt;br /&gt;
          Dim theResponse As WebResponse&lt;br /&gt;
          theResponse = theRequest.GetResponse&lt;br /&gt;
          Dim aReader As New StreamReader(theResponse.GetResponseStream())&lt;br /&gt;
          Dim theData As String&lt;br /&gt;
          theData = aReader.ReadToEnd&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;Getting Amazon rank for ISBN # 1893115992&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(theData)&lt;br /&gt;
    &lt;br /&gt;
        Catch E As Exception&lt;br /&gt;
          Console.WriteLine(E.StackTrace)&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.MediaType==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
 &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.MediaType &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;MediaType: &amp;quot; &amp;amp; httpReq.MediaType.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.Method==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;Method: &amp;quot; &amp;amp; httpReq.Method.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;PreAuthenticate: &amp;quot; &amp;amp; httpReq.PreAuthenticate)&lt;br /&gt;
          Console.WriteLine(&amp;quot;ProtocolVersion: &amp;quot; &amp;amp; httpReq.ProtocolVersion.ToString)&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.PreAuthenticate==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;Method: &amp;quot; &amp;amp; httpReq.Method.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;PreAuthenticate: &amp;quot; &amp;amp; httpReq.PreAuthenticate)&lt;br /&gt;
          Console.WriteLine(&amp;quot;ProtocolVersion: &amp;quot; &amp;amp; httpReq.ProtocolVersion.ToString)&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.ProtocolVersion==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;Method: &amp;quot; &amp;amp; httpReq.Method.ToString)&lt;br /&gt;
          Console.WriteLine(&amp;quot;PreAuthenticate: &amp;quot; &amp;amp; httpReq.PreAuthenticate)&lt;br /&gt;
          Console.WriteLine(&amp;quot;ProtocolVersion: &amp;quot; &amp;amp; httpReq.ProtocolVersion.ToString)&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.Referer==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.Referer &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;Referer: &amp;quot; &amp;amp; httpReq.Referer.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;RequestUri: &amp;quot; &amp;amp; httpReq.RequestUri.ToString)&lt;br /&gt;
    &lt;br /&gt;
          If (httpReq.RequestUri.ToString() &amp;lt;&amp;gt; httpReq.Address.ToString()) Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;URL has been changed.&amp;quot;)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.RequestUri==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.Referer &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;Referer: &amp;quot; &amp;amp; httpReq.Referer.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
          Console.WriteLine(&amp;quot;RequestUri: &amp;quot; &amp;amp; httpReq.RequestUri.ToString)&lt;br /&gt;
    &lt;br /&gt;
          If (httpReq.RequestUri.ToString() &amp;lt;&amp;gt; httpReq.Address.ToString()) Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;URL has been changed.&amp;quot;)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.TransferEncoding==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.TransferEncoding &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;TransferEncoding: &amp;quot; &amp;amp; httpReq.TransferEncoding.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.UserAgent &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;UserAgent: &amp;quot; &amp;amp; httpReq.UserAgent.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==WebRequest.UserAgent==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;  &lt;br /&gt;
Imports System.Net&lt;br /&gt;
Imports System.Net.Sockets&lt;br /&gt;
Public Class Tester&lt;br /&gt;
    Public Shared Sub Main&lt;br /&gt;
        Dim httpReq As System.Net.HttpWebRequest&lt;br /&gt;
    &lt;br /&gt;
        Try&lt;br /&gt;
          Dim httpURL As New System.Uri(&amp;quot;http://www.vbex.ru/index.htm?key=value&amp;quot;)&lt;br /&gt;
    &lt;br /&gt;
          httpReq = CType(WebRequest.Create(httpURL), HttpWebRequest)&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.TransferEncoding &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;TransferEncoding: &amp;quot; &amp;amp; httpReq.TransferEncoding.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
          If httpReq.UserAgent &amp;lt;&amp;gt; Nothing Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;UserAgent: &amp;quot; &amp;amp; httpReq.UserAgent.ToString)&lt;br /&gt;
          End If&lt;br /&gt;
    &lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
          Console.WriteLine(ex.StackTrace.ToString())&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>