private DataPackageSubmissionResult SendMetricsRequest(string serviceUrl, string csid, string hwGdid, string osGuid, string registrationToken, string fileName, byte[] attachment)
        {
            DataPackageReceiverSoapClient dprs = new DataPackageReceiverSoapClient(new BasicHttpBinding("DataPackageReceiverSoap"), new EndpointAddress(serviceUrl));

            return(dprs.SubmitDataPackage(new IseeWebServicesHeader()
            {
                CSID = csid,
                GDID = hwGdid,
                OSID = osGuid,
                registrationToken = registrationToken
            }, fileName, attachment));
        }
 private DataPackageSubmissionResult SendMetricsRequest(string serviceUrl,string csid,string hwGdid,string osGuid,string registrationToken,string fileName,byte[] attachment)
 {
     DataPackageReceiverSoapClient dprs = new DataPackageReceiverSoapClient(new BasicHttpBinding("DataPackageReceiverSoap"), new EndpointAddress(serviceUrl));
     return dprs.SubmitDataPackage(new IseeWebServicesHeader() {
         CSID = csid,
         GDID = hwGdid,
         OSID = osGuid,
         registrationToken = registrationToken
     }, fileName, attachment);
 }