This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
[Parameter(Mandatory=$true, Position=1)] | |
[string]$name = "TestSolution", | |
[Alias('t')] | |
[Parameter(Mandatory=$false,Position=2)] | |
[switch]$isAddTestProject | |
) | |
New-Item -Path "." -Name $name -ItemType "directory" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Private WithEvents Items As Outlook.Items | |
Private Sub Application_Startup() | |
Dim olApp As Outlook.Application | |
Dim objNS As Outlook.NameSpace | |
Set olApp = Outlook.Application | |
Set objNS = olApp.GetNamespace("MAPI") | |
' default local Inbox | |
Set Items = objNS.GetDefaultFolder(olFolderInbox).Items |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Скрипт создан при помощи мастера создания скриптов. | |
; СМ. ДОКУМЕНТАЦИЮ ДЛЯ ИЗУЧЕНИЯ ДЕТАЛЕЙ ОТНОСИТЕЛЬНО СОЗДАНИЯ ФАЙЛОВ СКРИПТА INNO SETUP! | |
[Setup] | |
AppName=PowerMgmntServer | |
AppVerName=PowerManagementServiceServer 1.0 | |
AppPublisher=Alex Korsakov | |
DefaultDirName={pf}\PowerMgmntServer | |
DefaultGroupName=PowerMgmntServer | |
OutputBaseFilename=setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net; | |
using System.Net.NetworkInformation; | |
using System.Net.Sockets; | |
namespace WakeOnLan2 | |
{ | |
public class WakeOnLan | |
{ | |
public static void Send(string TargetMac, string SourceIp) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |