2,892 questions
Try something like this for .wav:
Case InputByte.Take(4).SequenceEqual({&H52, &H49, &H46, &H46}) AndAlso InputByte.Skip(8).Take(4).SequenceEqual({&H57, &H41, &H56, &H45})
Make sure that the length of the file is greater than 12.