Microsoft offers several legal ways to use Visual Studio 2022 without hunting for shady product keys:
If you're experiencing issues with your product key: microsoft visual studio 2022 product key