Knowingness.
With knowledge.
Shrewdly; slyly.
Mrs. Little smiled knowingly and looked very much pleased, but she said nothing more just then. – Put Yourself in His Place by Charles Reade
The servant smiled knowingly when he saw him come, and Paul hardly dared to raise his eyes to him. – Dame Care by Hermann Sudermann