void ExtractXap (string xapPath) { xap_dir = NativeMethods.xap_unpack (xapPath); if (xap_dir == null) throw new MoonException (2103, "Invalid or malformed application: Check manifest"); }