If you want a standard registry-type GUID you need to do something like
this:
string guid = Guid.NewGuid().ToString();
What you're seeing in the watch window is just the internal representation
of the Guid class.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/
"rh" <(E-Mail Removed)> wrote in message
news:5FF7C69F-BAAD-4567-9355-(E-Mail Removed)...
> Hi,
> I have some problem with GUID.
> when I debug this line
> myguid=Guid.NewGuid(); I found some value in watch.
> System.ValueType =
> _a = -784344545
> _b ,_c,_d ... to _k with specific value.
>
> After that the next line System.Writeline(myguid), the value is differenct
with watch value.
> d13fda1f-4846-46ba-ae45-b47545107f12
>
> I want to know the different between that 2 values.
> The reason I ask this question is when I use soap serialization, I got the
value of the first one. I want to get the value of
> second one. How do I do?
>
> Regards,
>
>
>
>