We are using the same piece of code (irrespective of type of driver we are using) for getting the connection. On what basis you decide which type of driver you are using?
To know detail please go through the following link
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.