Povilas K

Povilas K

  • NA
  • 1
  • 1.3k

Send AMF binary package

Jan 10 2015 6:30 PM
First of all I wan't to say that I'm just a beginner programmer.

For learning purpose I'm trying to send packet to server that is content type x-amf

The packet looks like this

POST (info hided)/amfgateway.php HTTP/1.1Host: (info hided)
Connection: keep-alive
Content-Length: 52
Origin: (info hided)
X-Requested-With: ShockwaveFlash/16.0.0.235
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Content-Type: application/x-amf
Accept: */*
Referer: (info hided)
Accept-Encoding: gzip, deflate
Accept-Language: lt,en-US;q=0.8,en;q=0.6,ru;q=0.4,pl;q=0.2
Cookie: (info hided)

 bcAmfService.addFriend /1   
    Aa$


What is the best way to replicate this packet using C#?