开发者

How to deserialise WCF message

开发者 https://www.devze.com 2023-04-01 09:59 出处:网络
I have a messsage interceptor in my WCF REST application开发者_Go百科 that im using to log messages. This is being returned to the client

I have a messsage interceptor in my WCF REST application开发者_Go百科 that im using to log messages. This is being returned to the client

 <?xml version="1.0" encoding="utf-8"?><Binary>77u/PD94bWwgUTVweDs /*snip */ +PC9IVE1MPg==</Binary>

Which gets deserialised by fiddler to something readable. How can I decode the binary data into something readable myself?


The binary data appears to be base64 encoded.

Use Convert.FromBase64String to decode.

0

精彩评论

暂无评论...
验证码 换一张
取 消