In this post we will discuss we can find the CLSID of a DLL. A CLSID is a global unique identifier that identifies a COM class object. You may need to register and know the CLSID of a particular DLL when you work with COM especially when your server allows linking to its embedded objects. I had the same situation to know the CLSID of a DLL.
How to find CLSID of a DLL
Go to start and select Run, or you Press Windows key + R. And type regedit.
Click Yes, if you get any pop up as follows.
Select HKEY_CLASSES_ROOT from the list.
Now search for your DLL name. In my case it was MyWindowsControl. You can find a folder called CLSID under your DLL name.
On the right side you can see a column ‘Data’, that is your CLSID.
Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.
Your turn. What do you think?
A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.