public bool? SubmitSamples(IEnumerable<QuickPulseDataSample> samples, string instrumentationKey)
{
var path = string.Format(CultureInfo.InvariantCulture, "post?ikey={0}", Uri.EscapeUriString(instrumentationKey));
HttpWebResponse response = this.SendRequest(
WebRequestMethods.Http.Post,
path,
stream => this.WriteSamples(samples, instrumentationKey, stream));
if (response == null)
{
return null;
}
return ProcessResponse(response);
}