C# – How to generate UUID in C#

ccomnetuuidvisual-studio-2008

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

Can I generate the UUID programmatically?

Best Answer

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