Skip to content

pjoiner/DwC-A_dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme License: MITBuild Status

DwC-A_dotnet is a simple Darwin Core Archive reader for dotnet.

Install

To add DwC-A_dotnet to your project run the following command in the Visual Studio Package Manager Console

PM> Install-Package DwC-A_dotnet

Usage

To read a Darwin Core Archive file and display core data rows.

using DwC_A;

string fileName = "./dwca-uta_herps-v8.1.zip";
using (var archive = new ArchiveReader(fileName))
{
	foreach(var row in archive.CoreFile.Rows)
	{
		//Display field 0 of each row
		Console.WriteLine(row[0]);
	}
}

More information can be found in the Documentation Wiki.