a guest Aug 10th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // (Do this up front somewhere else.)
- var closeMethod = typeof(OpenNETCF.Phone.Sim.Sim).GetMethod("Close");
- // (Do this many times.)
- using (var disposer = new Disposer<OpenNETCF.Phone.Sim.Sim>(OpenNETCF.Phone.Sim.Sim(), closeMethod))
- // Use the 'disposer.Object' property ...
RAW Paste Data