Trying to convert to .Net, thanks.