A current flows along the length of an infinitely long, straight and thin-walled pipe. Then
The magnetic field at all points along the axis of the pipe is only zero
The magnetic field at any point inside the pipe is zero
The magnetic field is zero only on the axis of the pipe
The magnetic field is different at different points inside the pipe
Applying Ampere's law ∮B. dl = μ0i to any closed path inside the pipe we find no current is enclosed. Hence B = 0.