Μέθοδος BinaryRead του ASP
Η μέθοδος BinaryRead χρησιμοποιείται για να αποκτήσει δεδομένα που στάλθηκαν από τον πελάτη στον διακομιστή ως μέρος της αίτησης POST.
Σημειώσεις:Προσέξτε να καλέσετε το Request.Form μετά από το BinaryRead, αλλιώς μπορεί να προκαλέσει σφάλμα.
Γλώσσα γραμματικής
Request.BinaryRead(count)
Parameter | Description |
---|---|
count | Required. Specifies how many bytes to read from the client machine. |
Example
The following example uses the BinaryRead method to put the content of a request into a secure array:
<% dim a,b a=Request.TotalBytes b=Request.BinaryRead(a) %>