Beispiel #1
0
 private void PolicyRequest()
 {
     _connection.SendData(CloudServer.GetDefaultEncoding().GetBytes("<?xml version=\"1.0\"?>\r\n" +
                                                                    "<!DOCTYPE cross-domain-policy SYSTEM \"/xml/dtds/cross-domain-policy.dtd\">\r\n" +
                                                                    "<cross-domain-policy>\r\n" +
                                                                    "<allow-access-from domain=\"*\" to-ports=\"1-31111\" />\r\n" +
                                                                    "</cross-domain-policy>\x0"));
 }
Beispiel #2
0
 public string PopString()
 {
     return(CloudServer.GetDefaultEncoding().GetString(ReadFixedValue()));
 }
Beispiel #3
0
 public override string ToString()
 {
     return("[" + Header + "] BODY: " + (CloudServer.GetDefaultEncoding().GetString(Body).Replace(Convert.ToChar(0).ToString(), "[0]")));
 }