static void PrintMetaDataFor(CombineArchive archive, string location) { OmexDescription desc = archive.getMetadataForLocation(location); if (desc.isEmpty()) { Console.WriteLine(" no metadata for '{0}'", location); return; } Console.WriteLine(" metadata for '{0}':", location); Console.WriteLine(" Created : {0}", desc.getCreated().getDateAsString()); for (int i = 0; i < desc.getNumModified(); ++i) { Console.WriteLine(" Modified : {0}", desc.getModified(i).getDateAsString()); } Console.WriteLine(" # Creators: {0}", desc.getNumCreators()); for (int i = 0; i < desc.getNumCreators(); ++i) { VCard creator = desc.getCreator(i); Console.WriteLine(" {0} {1}", creator.getGivenName(), creator.getFamilyName()); } }