I have a base64 encoded string and I want to find out whether that string contains开发者_如何学编程 a GIF image or not.
How will I do that in C#?
- Decode from base 64.
- Examine the file header.
- If the first three bytes are
GIF
, it's a GIF.
I have a base64 encoded string and I want to find out whether that string contains开发者_如何学编程 a GIF image or not.
How will I do that in C#?
GIF
, it's a GIF.上一篇:淡盐水清肠排毒法?
简单清炖鱼怎么做好吃啊??:下一篇
精彩评论