I would hate to see the legislative definition of "random".
If you set up an event like "demo day" at Y-Combinator where investors and founders meet and discuss equity and terms that's perfectly legal. That's NOT general solicitation. Everyone there knows what they're getting themselves into. No one can be "tricked" into investing like the general public can.