When they do it commercially, they kiln treat it. I saw a study on freezing it and it has to get down to ridiculously low temperatures to do any good. And to really penetrate into the wood and get rid of eggs, fumigation or chemicals end up being a greater problem off-gassing once it is installed in your home/shop.
You may be able to find a local sawmill with a kiln that would include your wood in with what they are drying.
By the way, just had a friend who had problems with this. They paneled their basement in "barn wood" from a friend's family outbuilding they were tearing down. Six months later they were ripping it all out due to mold and bugs because they didn't do anything to it first.