Interfaces Instantiations

In reply to syed taahir ahmed:
Can you show the code you used to set and get the virtual interface? as well as the code used to set the name of the driver (either create or new)?