Results 1 to 10 of 10
Threaded View
-
25th Aug 2012, 02:23 PM #1OPMember
[VB.NET] Netload API - Get file link
Can anyone help me about how to use Netload API on VB.Net? I don't know how to use HttpWebRequest. Paid or free.
---------- Post added at 02:23 PM ---------- Previous post was at 11:16 AM ----------
PHP Code:Imports System
Imports System.IO
Imports System.Net
Imports System.Text
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim request As WebRequest = WebRequest.Create("http://api.netload.in/getserver.php")
request.Method = "POST"
Dim postData As String = "modus = file_upload, file = C:\Users\x\Desktop\sc.rar, auth = (Auth Code), user_id = (user no), user_password = (user pass)"
Dim byteArray As Byte() = Encoding.UTF8.GetBytes(postData)
request.ContentType = "application/x-www-form-urlencoded"
request.ContentLength = byteArray.Length
Dim dataStream As Stream = request.GetRequestStream()
dataStream.Write(byteArray, 0, byteArray.Length)
dataStream.Close()
Dim response As WebResponse = request.GetResponse()
MsgBox(CType(response, HttpWebResponse).StatusDescription)
dataStream = response.GetResponseStream()
Dim reader As New StreamReader(dataStream)
Dim responseFromServer As String = reader.ReadToEnd()
MsgBox(responseFromServer)
reader.Close()
dataStream.Close()
response.Close()
End Sub
End Class
"http://upload1.netload.in/api.php, ttp://upload2.netload.in/api.php, ttp://upload3.netload.in/api.php, ... etc"
Help me about post data string.wolfallen Reviewed by wolfallen on . [VB.NET] Netload API - Get file link Can anyone help me about how to use Netload API on VB.Net? I don't know how to use HttpWebRequest. Paid or free. ---------- Post added at 02:23 PM ---------- Previous post was at 11:16 AM ---------- Imports System Imports System.IO Imports System.Net Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Netload Discussion Thread - Post your discussions related to Netload here.
By inject0r in forum File Host DiscussionReplies: 3867Last Post: 18th Nov 2012, 06:44 AM -
Netload Working Link Checker ?
By sahil00150 in forum File Host DiscussionReplies: 11Last Post: 30th Aug 2012, 04:46 PM -
Netload: sorry, file is blacklisted aaarrggg
By Eddie Morra in forum File Host DiscussionReplies: 22Last Post: 1st Feb 2012, 02:04 PM -
[Selling] MU/MV/Netload/Storage/Hotfile Premium link Generator Script
By Streax in forum Completed TransactionsReplies: 11Last Post: 16th Dec 2009, 06:21 PM -
Netload.in Plugin - Dman's Multiple Link Checker
By CyberJ37 in forum Webmaster ResourcesReplies: 0Last Post: 21st Feb 2009, 08:37 AM
themaCreator - create posts from...
Version 3.51 released. Open older version (or...