hi,
I have a service , where 1 parameter is System.Byte [] type. How to get type of that variable . if it is PDF or JPG ??
*This post is locked for comments

hi,
I have a service , where 1 parameter is System.Byte [] type. How to get type of that variable . if it is PDF or JPG ??
*This post is locked for comments
If you want to know if its a PDF or JPG file?
That might not really be possible with out some advanced code, the System.Byte type just tells you that you are getting some byte data, nothing about what that data really is.
So it that really what you need to know, or did I not understand your question?
Link to article about how to check if byte array is a picture https://stackoverflow.com/questions/8349693/how-to-check-if-a-byte-array-is-a-valid-image