Please provide me sample code to convert STLToIGES

Hello…
can you Please provide me some sample code to convert an STL file to IGES file…Or give me some guidane regarding it…

Thanks in Advance
Suman