public static string getDefaultMediaDir() { string ret = BitesPINVOKE.ApplicationContextBase_getDefaultMediaDir(); if (BitesPINVOKE.SWIGPendingException.Pending) { throw BitesPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }