If we want to consume a COM component from a .Net application then first it should be converted into RCW which can done in either of 2 ways: