Implementation of WOFF in c#