Where can I get the GUID value of an interface and class for creating a DLL in C #? I am using Viusal Studio 2005. Please help.
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace Wrapper { [Guid("")] => Where can i get this??? [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)] public interface _Service { [DispId(1)] SearchResponse ExecuteSearch(); } [Guid("")] => Where can i get this??? [ClassInterface(ClassInterfaceType.None)] [ProgId("Wrapper.Service")] public class Ebil : _Service { FactService ew; public Ebil() { ew = new FactService(); } public SearchResponse ExecuteSearch(SearchRequest searchRequest) { return ew.ExecuteSearch(searchRequest); }
}}
source share