ʹ��C#���ʰٶ�ָ������������/��Ӧ���ݣ�1��
������������ʹ��C#�������ʰٶ�ָ������վ��վ��������ָ��һ����İ����������ͼ����ʾ��CSDN���û���ע�Ⱥ�ý����ע�ȡ����ܿ�ϧ���ǣ��û�ֻ��ͨ�������ķ�ʽ�õ�ij����ָ�����������������������ؼ��ʵİٶ�ָ�����ͺ��鷳�ˡ������������õ�����ÿ������ֵҲ������ô���ס�
�����Լ�Ҳ����Ҫ�������о����£�д�˸���Demoʵ�ִ˹��ܣ���ӭ��λ����ָ����
���ڰٶ�ָ������Flash����ʽ�ڿͻ���չ�ֳ����ģ�������ֱ��ȡ������ʼ����ΪҪ��C#������Flash�ͻ��˽���������������������Ҫ�������Ϳͻ��������Ƿ��͵������������ݺͷ��ص���Ӧ��������ʵ�������е����Ҷ����������ģ���
��ʹ�õ�ץ��������HTTP Analyzer��ͨ���鿴Post Data�����Կ����ͻ����Ƿ�����һ��Post������http://index.baidu.com/gateway.php
���͵�������һ��AMF Message
��ô������Ҫ�о������������������ǵij������ͳ���ͬ��������
�ٴ�֮ǰ������Ҫ�˽���AMF�ĸ��AMF��Adobe��˾���������ݽ�����Զ�̹��̵��õ�Э�飬ȫ��ΪAction Message Format����������WebService����WebService���ݵ���XML�ı����ݣ���AMFʹ��Http�������Ƕ��������ݡ�
AMF����Ҫʹ�õ������������£�
+ expand sourceview plaincopy to clipboardprint?
public enum DataType
{
Number = 0,
Boolean = 1,
String = 2,
UntypedObject = 3,
MovieClip = 4,
Null = 5,
Undefined = 6,
ReferencedObject = 7,
MixedArray = 8,
End = 9,
Array = 10,//0x0A
Date = 11,//0x0B
LongString = 12,//0x0C
TypeAsObject = 13,//0x0D
Recordset = 14,//0x0E
Xml = 15,//0x0F
TypedObject = 16,//0x10
AMF3data = 17//0x11
}
public enum DataType
{
Number = 0,
Boolean = 1,
String = 2,
UntypedObject = 3,
MovieClip = 4,
Null = 5,
Undefined = 6,
ReferencedObject = 7,
MixedArray = 8,
End = 9,
Array = 10,//0x0A
Date = 11,//0x0B
LongString = 12,//0x0C
TypeAsObject = 13,//0x0D
Recordset = 14,//0x0E
Xml = 15,//0x0F
TypedObject = 16,//0x10
AMF3data = 17//0x11
}
���ǿ��������������͵�AMF Message��Ϣ��HEX��ʾ����
��Щ���������ݵķ�������
0003 ˵��ʹ�õ�AMF�汾��ĿǰAMF�������汾��0000 ��ʾ AMF0��0003��ʾAMF3
0000 ��ʾAMF Header������0
0001 ��ʾAMF Body������1
0017 ��ʾ���õķ����ij���ռ23���ֽ�(17��16���ƾ���23)
������
4461 7461 4163 6365 7373 6f72 2e67 6574 496e 6465 7865 73
��23���ֽڱ�ʾ���÷������˵ķ�����DataAccessor.getIndexes(44��16���ƾ���68��Ҳ����D�����治�������ƽ���)
�������� 00 022f 31 ��ʾtarget��Ϊ��ʶʵ����������Ӧ����ϵ��һ��������������00��ʾ��������ΪNumber��02��ʾ����Ϊ�����ֽڣ�2f 31��ʵ����/1
00 0000 2d Body�ij���ΪNumber���ͣ�����Ϊ45
0a 0000 0003 0a��ʾ�������ͣ�������C#�е�Dictionary����ֵ�ԣ�������string���ͣ�������Ϊ3
�����ĵ�һ����
0200 0ce5 a881 e8bf 85e6 9599 e882 b2 02��ʾ�ַ������ͣ�0c��ʾ���ַ�������Ϊ12��������e5 a881 e8bf 85e6 9599 e882 b2
��ʾ���ݵ�����,�������¶δ����鿴
+ expand sourceview plaincopy to clipboardprint?
byte[] buffer = new byte[] { 0xe5, 0xa8, 0x81, 0xe8, 0xbf, 0x85, 0xe6, 0x95, 0x99, 0xe8, 0x82, 0xb2 };
string str = System.Text.Encoding.UTF8.GetString(buffer);
Console.Write(str); //����
byte[] buffer = new byte[] { 0xe5, 0xa8, 0x81, 0xe8, 0xbf, 0x85, 0xe6, 0x95, 0x99, 0xe8, 0x82, 0xb2 };
string str = System.Text.Encoding.UTF8.GetString(buffer);
Console.Write(str); //����
�����ĵڶ�����
02 0001 30 �ַ���0����֪����ʲô����
�����ĵ�������
02 0012 3230 3130 2d36 2d31 7c32 3031 302d 362d 3131
����Ϊ18���ַ���������Ϊ2010-6-1|2010-6-11
���ˣ����������������Ѿ��������ϣ��ټ���˵�·��ص�����(Response Content)
���ص�AMF Message��ȻҲ����Header��Body(��������)
Body��TargetΪ/1/onResult
Body��Content����
key String���� �������Ǵ���ȥ�Ĺؼ���
area Number���� 0
areaName String���� �����������Ĵ��뿴�����ݣ�����ȫ��
userIndexes String���� ���ﶼ�ǰٶ�ָ��(�û���ע��)���ö��ŷָ���
mediaIndexes String���� ���ﶼ��ý��ָ��(ý����ע��)���ö��ŷָ���(����ͼ��userIndexes ռλ�϶࣬����δ��ʾ��������userIndexes�����·�)
�������õ�����һ���İٶ�ָ����ֻҪ�ҵ�mediaIndexesǰ������һ�����ź��������ּ��ɣ���ȻҪ�ų�mediaIndexes�����������ͼ����ȵ�ռλ�ֽڣ�
- ת����ע����Դ��ITѧϰ�� ��ַ��http://www.t086.com/ �����������Ƽ�������
- �ر������� ��վ�������ر�������ֹת�ص�ר�������������¿�������ת�أ���������ע��������ԭʼ���ߡ����°�Ȩ������ԭʼ�������С����ڱ���վת�����µĸ��˺���վ�����DZ�ʾ������л�⡣������վת�ص������а�Ȩ��������ϵ���ǣ����ǻᾡ�����Ը�����
- �������е���ɫ
- �������ж�IP��ַ��A��B���C��
- ������ϵ��Ц�� (ʷ����ȫ��
- ��Google���������ŵ���ͨv4.0
- ���ٶ�ͳ��URL��hm������utm�����Ķ�Ӧ��ϵ
- ��ƻ������MACbook Air���ݼ���ȫ
- ��Linux��ʹ��host��dig��nslookup��ѯDNS
- ���������ԡ���װ Windows XP ����ϵͳ��ͼ��ȫ����
- �����Լ���VPS�Google��������
- ��С�ڴ�VPS֮Nginx+PHP-fpm�߸����Ż���ѹ�����Է���
- ������������������̸�����ɶ��ر�
- ��������������ѡʳƷ����2020�ļ��ȵ�Ͷ�ʲ��Ժ���������
- �����ڵ�����֤50���ƴ�50����ָ֤�������Ĺ���
- ����֤50����Щ��Ʊ_��֤50Ȩ����������
- ������300����֤50����֤500��ָ��2019���ڶ��ζ��ڵ���������
- ������300��ֵ/�ɳ�ָ�����Ʒ����������й�ƽ��Ȩ���½�
- ����ָ֤��������֤50��ָ��������
- ����ָ֤��������֤����ָ��������
- ����ָ֤��������֤100ָ��������
- ����ָ֤����������300ָ��������