Wayne,
It depends on where the VLAN information is being configured for the NIC. Is the NIC handling the VLAN tagging? Is this a physical or virtual machine? If virtual, which virtualization platform?
Windows (by default) does not support vlan tagging, but some NIC vendors do with their proprietary NIC configuration software.
Some of those vendors provide an API to access that information (WMI or otherwise) but that is going to vary based on vendor.
Hypervisors allow for virtual NICs to have their traffic tagged for a particular vlan, but again where that information is stored will vary by vendor.
Steve