How can I generate UUID in C#

Uma Shankar Subramani picture Uma Shankar Subramani · Dec 12, 2011 · Viewed 163.7k times · Source

I am creating an .idl file programmatically. How do I create UUIDs for the interfaces and Methods Programmatically.

Can I generate the UUID programmatically?

Answer

Tudor picture Tudor · Dec 12, 2011

You are probably looking for System.Guid.NewGuid().