Only the M164 matters in most cases, because sometimes we may need that to determine if you're in one region with the latest update. We can make the confirmation about the relationship:
Dev18<=>TFS 2020
Dev17<=>TFS 2019
Dev16<=>TFS 2018
Dev15<=>TFS 2017
Dev14<=>TFS 2015
It's the major version of TFS, so it won't be changed frequently. I think it will change only when a new TFS version is released. Hope it helps.