add base64 decoding and .net