If I understood correctly, you can cast an object instance to your interface like:
testinterface someVar = originalVar as testinterface;
after that someVar should contain the variable as your interface if the original instance implemented the interface. If it didn't, someVar is null.