Example #1
0
        public void AutoStartTest()
        {
            string location = System.Reflection.Assembly.GetExecutingAssembly().Location;

            AutoStart.SetAutoStart(location);
            Assert.IsTrue(AutoStart.IsAutoStartEnabled(location));

            AutoStart.UnSetAutoStart(location);
            Assert.IsFalse(AutoStart.IsAutoStartEnabled(location));
        }