Hello Dima Sir,
First I tried that way only but no luck. I tried following:
Code:
Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 1), "Region 1", "NONE"))
Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 2), "Region 2", "NONE"))
Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 3), "Region 3", "NONE"))
Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 4), "Region 4", "NONE"))
Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 5), "Region 5", "NONE"))
Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 6), "Region 6", "NONE"))
Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 7), "Region 7", "NONE"))
Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 8), "Region 8", "NONE"))
I got following answer:
Region 1
NONE
Region 3
Region 4
Region 5
Region 6
Region 7
Region 8
Hence I tried the another way mentioned in above post by swapping outputs, but no luck there also.
This DVD supports DVD Region 2 & 5. But somehow getting And expression true for DVD Region 2 only.
I understood what Anton Sir told. So is it the case, that I have to convert Decimal 237 to Binary 11101101. To get supported DVD Regions 2 & 5.
I am definitely missing something or doing wrong? What is the right way?
Will you please kindly help me.
Thank you.