public static UpnpNt GetUpnpType(this IUpnpTypeMatchable item) => item.GetByNtType(UpnpNt.NtType.DeviceType) ?? item.GetByNtType(UpnpNt.NtType.ServiceType) ?? item.GetByNtType(UpnpNt.NtType.DomainDeviceType) ?? item.GetByNtType(UpnpNt.NtType.DomainServiceType) ?? item.GetByNtType(UpnpNt.NtType.CustomType) ?? item.GetByNtType(UpnpNt.NtType.DomainCustomType);
public static UpnpNt GetUpnpRoot(this IUpnpTypeMatchable item) => item.GetByNtType(UpnpNt.NtType.RootDevice);
public static UpnpNt GetUpnpId(this IUpnpTypeMatchable item) => item.GetByNtType(UpnpNt.NtType.Guid);