Please help converting 2 PHP functions to vb.net (or c#)

Printable View