Cast String to Guid

G

Guest

Guid guid = new Guid(myString);

If the string is in an incorrect format, it will blow up, of course.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
W

William Stacey [MVP]

How to get the GUID string of the OS/Machine? And can you use this
resulting string in this constructor? TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top