ASP.NET(vb.net) Request.BinaryRead() - Request Object - Request.BinaryRead() : The BinaryRead method retrieves data sent to the server from the client as part of a POST request. This method retrieves the data from the client and stores it in a SafeArray.
ShotDev Focus:
- ASP.NET(vb.net) Request.BinaryRead() - Request Object
Syntax
retVal = BinaryRead( count )
Example
AspNetRequestBinaryRead.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Dim Bytes,Binary Bytes = Request.TotalBytes() Binary = Request.BinaryRead(Bytes) End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form runat="server"> </form> </body> </html>
Screenshot