R
Roshawn Dawson
Hi,
I'm attempting something new, so please here me out.
I need to send an xml file in my HttpWebRequest object. IOW, I need to post some xml data to a
specified URI. (FYI, this xml is composed using the StringBuilder object.) After reading the docs,
it seems that the only place to do so is the ContentLength property.
The ContentLength property's data type is long. How do I convert the xml into long? Is there some
technique to use that does this automatically? Or is there an easier way to accomplish this task?
Thanks,
Roshawn
I'm attempting something new, so please here me out.
I need to send an xml file in my HttpWebRequest object. IOW, I need to post some xml data to a
specified URI. (FYI, this xml is composed using the StringBuilder object.) After reading the docs,
it seems that the only place to do so is the ContentLength property.
The ContentLength property's data type is long. How do I convert the xml into long? Is there some
technique to use that does this automatically? Or is there an easier way to accomplish this task?
Thanks,
Roshawn