updates Support-URL; (.ToString removed) - small changes
This commit is contained in:
parent
6c8ba65851
commit
cc825d66b1
7 changed files with 152 additions and 72 deletions
|
@ -25,11 +25,11 @@
|
|||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<InstallUrl>http://tools.dominicreich.com/Aufwachen/</InstallUrl>
|
||||
<UpdateUrl>http://tools.dominicreich.com/Aufwachen/</UpdateUrl>
|
||||
<SupportUrl>http://tmsn.at/%3ftools&aufwachen</SupportUrl>
|
||||
<SupportUrl>http://klamm.io</SupportUrl>
|
||||
<ErrorReportUrl>https://github.com/freefallcid/aufwachen/issues</ErrorReportUrl>
|
||||
<ProductName>Aufwachen</ProductName>
|
||||
<PublisherName>Dominic Reich</PublisherName>
|
||||
<ApplicationRevision>1</ApplicationRevision>
|
||||
<ApplicationRevision>2</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||
|
|
|
@ -4,10 +4,13 @@
|
|||
<PublishUrlHistory>Z:\Aufwachen\|Z:\|publish\</PublishUrlHistory>
|
||||
<InstallUrlHistory>http://tools.dominicreich.com/Aufwachen/</InstallUrlHistory>
|
||||
<SupportUrlHistory>http://tmsn.at/%3ftools&aufwachen</SupportUrlHistory>
|
||||
<UpdateUrlHistory />
|
||||
<UpdateUrlHistory>http://tools.dominicreich.com/Aufwachen/</UpdateUrlHistory>
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory>https://github.com/freefallcid/aufwachen/issues</ErrorReportUrlHistory>
|
||||
<FallbackCulture>de-DE</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<EnableSecurityDebugging>false</EnableSecurityDebugging>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,11 +1,75 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
|
||||
<asmv1:assemblyIdentity name="Aufwachen.exe" version="1.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
|
||||
<description asmv2:iconFile="my_network_places.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
|
||||
<application />
|
||||
<entryPoint>
|
||||
<assemblyIdentity name="Aufwachen" version="1.0.5909.39628" language="neutral" processorArchitecture="msil" />
|
||||
<commandLine file="Aufwachen.exe" parameters="" />
|
||||
</entryPoint>
|
||||
<trustInfo>
|
||||
<security>
|
||||
<applicationRequestMinimum>
|
||||
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
|
||||
<defaultAssemblyRequest permissionSetReference="Custom" />
|
||||
</applicationRequestMinimum>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
<!--
|
||||
UAC-Manifestoptionen
|
||||
Wenn Sie die Zugangsebene für das Windows-Benutzerkonto ändern möchten, ersetzen Sie den
|
||||
requestedExecutionLevel-Knoten durch eines der folgenden Elemente.
|
||||
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
|
||||
Löschen Sie den requestedExecutionLevel-Knoten, wenn Sie
|
||||
zum Gewährleisten der Abwärtskompatibilität die Datei- und Registrierungsvirtualisierung verwenden möchten.
|
||||
-->
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
||||
<dependency>
|
||||
<dependentOS>
|
||||
<osVersionInfo>
|
||||
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
|
||||
</osVersionInfo>
|
||||
</dependentOS>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
|
||||
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Aufwachen.exe" size="156656">
|
||||
<assemblyIdentity name="Aufwachen" version="1.0.5909.39628" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>KTbXI29qjQYDzlg+Zk5hVNanYhxQOXmQgIp4Pb0LVvk=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<file name="Aufwachen.exe.config" size="186">
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>h0UeIdteCM29dGVw07LmHp593fPbh0IN11GyN3f2uRA=</dsig:DigestValue>
|
||||
</hash>
|
||||
</file>
|
||||
<file name="my_network_places.ico" size="67646">
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>XfncBGH+v4+DOaAM7qjx7L2A3lm3vAQesM5h90nW8Iw=</dsig:DigestValue>
|
||||
</hash>
|
||||
</file>
|
||||
</asmv1:assembly>
|
|
@ -1,63 +1,63 @@
|
|||
Imports System.Net.Sockets
|
||||
|
||||
Public Class frm_Main
|
||||
|
||||
Public Sub WakeOnLAN(ByVal MACAddress As String)
|
||||
Dim Client As New UdpClient
|
||||
Dim Count As Integer = 0
|
||||
Dim ByteArray(1024) As Byte
|
||||
Dim Pos As Integer = 0
|
||||
|
||||
Client.Connect("255.255.255.255", 12287)
|
||||
Client.Client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 0)
|
||||
|
||||
For i As Integer = 0 To 5
|
||||
Count += 1
|
||||
ByteArray(Count) = &HFF
|
||||
Next
|
||||
|
||||
For i As Integer = 0 To 15
|
||||
Pos = 0
|
||||
For n As Integer = 0 To 5
|
||||
Count += 1
|
||||
ByteArray(Count) = Byte.Parse(MACAddress.Substring(Pos, 2), Globalization.NumberStyles.HexNumber)
|
||||
Pos += 2
|
||||
Next
|
||||
Next
|
||||
|
||||
Client.Send(ByteArray, 1024)
|
||||
End Sub
|
||||
|
||||
Private Sub btn_end_Click(sender As Object, e As EventArgs) Handles btn_end.Click
|
||||
End
|
||||
End Sub
|
||||
|
||||
Private Sub btn_defined_1_Click(sender As Object, e As EventArgs) Handles btn_defined_1.Click
|
||||
txt_mac.Text = "8C:89:A5:60:F1:AE"
|
||||
End Sub
|
||||
|
||||
Private Sub btn_defined_2_Click(sender As Object, e As EventArgs) Handles btn_defined_2.Click
|
||||
txt_mac.Text = "68:05:CA:3E:09:DC"
|
||||
End Sub
|
||||
|
||||
Private Sub btn_defined_3_Click(sender As Object, e As EventArgs) Handles btn_defined_3.Click
|
||||
txt_mac.Text = "90:E6:BA:0A:BB:E5"
|
||||
End Sub
|
||||
|
||||
Private Sub btn_help_Click(sender As Object, e As EventArgs) Handles btn_help.Click
|
||||
MsgBox("Gib die MAC Adresse ins Textfeld ein oder drücke einen der linken Buttons um das Feld mit vordefinierten Werten zu füllen." & Chr(13) & Chr(10) & "Mit 'Aufwecken' wird das 'Magic Packet' gesendet.", MsgBoxStyle.OkOnly, "WOL Home - Hilfe")
|
||||
End Sub
|
||||
|
||||
Private Sub btn_wake_Click(sender As Object, e As EventArgs) Handles btn_wake.Click
|
||||
'On Error Resume Next
|
||||
On Error GoTo Do_Error
|
||||
Me.Enabled = False
|
||||
frm_Status.lbl_status.Text = "Magic Packet wird an " & Me.txt_mac.Text & " gesendet."
|
||||
frm_Status.ShowDialog()
|
||||
WakeOnLAN(txt_mac.Text.Replace(":", "").ToString)
|
||||
'WakeOnLAN(txt_mac.Text.ToString)
|
||||
Exit Sub
|
||||
Do_Error:
|
||||
MsgBox("Ein Fehler ist aufgetreten!" & Chr(13) & Chr(10) & Err.Number & " - " & Err.Description, MsgBoxStyle.Critical)
|
||||
End Sub
|
||||
End Class
|
||||
Imports System.Net.Sockets
|
||||
|
||||
Public Class frm_Main
|
||||
|
||||
Public Sub WakeOnLAN(ByVal MACAddress As String)
|
||||
Dim Client As New UdpClient
|
||||
Dim Count As Integer = 0
|
||||
Dim ByteArray(1024) As Byte
|
||||
Dim Pos As Integer = 0
|
||||
|
||||
Client.Connect("255.255.255.255", 12287)
|
||||
Client.Client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 0)
|
||||
|
||||
For i As Integer = 0 To 5
|
||||
Count += 1
|
||||
ByteArray(Count) = &HFF
|
||||
Next
|
||||
|
||||
For i As Integer = 0 To 15
|
||||
Pos = 0
|
||||
For n As Integer = 0 To 5
|
||||
Count += 1
|
||||
ByteArray(Count) = Byte.Parse(MACAddress.Substring(Pos, 2), Globalization.NumberStyles.HexNumber)
|
||||
Pos += 2
|
||||
Next
|
||||
Next
|
||||
|
||||
Client.Send(ByteArray, 1024)
|
||||
End Sub
|
||||
|
||||
Private Sub btn_end_Click(sender As Object, e As EventArgs) Handles btn_end.Click
|
||||
End
|
||||
End Sub
|
||||
|
||||
Private Sub btn_defined_1_Click(sender As Object, e As EventArgs) Handles btn_defined_1.Click
|
||||
txt_mac.Text = "8C:89:A5:60:F1:AE"
|
||||
End Sub
|
||||
|
||||
Private Sub btn_defined_2_Click(sender As Object, e As EventArgs) Handles btn_defined_2.Click
|
||||
txt_mac.Text = "68:05:CA:3E:09:DC"
|
||||
End Sub
|
||||
|
||||
Private Sub btn_defined_3_Click(sender As Object, e As EventArgs) Handles btn_defined_3.Click
|
||||
txt_mac.Text = "90:E6:BA:0A:BB:E5"
|
||||
End Sub
|
||||
|
||||
Private Sub btn_help_Click(sender As Object, e As EventArgs) Handles btn_help.Click
|
||||
MsgBox("Gib die MAC Adresse ins Textfeld ein oder drücke einen der linken Buttons um das Feld mit vordefinierten Werten zu füllen." & Chr(13) & Chr(10) & "Mit 'Aufwecken' wird das 'Magic Packet' gesendet.", MsgBoxStyle.OkOnly, "WOL Home - Hilfe")
|
||||
End Sub
|
||||
|
||||
Private Sub btn_wake_Click(sender As Object, e As EventArgs) Handles btn_wake.Click
|
||||
'On Error Resume Next
|
||||
On Error GoTo Do_Error
|
||||
'Me.Enabled = False
|
||||
'frm_Status.lbl_status.Text = "Magic Packet wird an " & Me.txt_mac.Text & " gesendet."
|
||||
'frm_Status.ShowDialog()
|
||||
WakeOnLAN(txt_mac.Text.Replace(":", ""))
|
||||
'WakeOnLAN(txt_mac.Text.ToString)
|
||||
Exit Sub
|
||||
Do_Error:
|
||||
MsgBox("Ein Fehler ist aufgetreten!" & Chr(13) & Chr(10) & Err.Number & " - " & Err.Description, MsgBoxStyle.Critical)
|
||||
End Sub
|
||||
End Class
|
||||
|
|
|
@ -9,3 +9,16 @@ C:\Users\Dominic\AppData\Local\Temporary Projects\Aufwachen\obj\Debug\Aufwachen.
|
|||
C:\Users\Dominic\AppData\Local\Temporary Projects\Aufwachen\obj\Debug\Aufwachen.xml
|
||||
C:\Users\Dominic\AppData\Local\Temporary Projects\Aufwachen\obj\Debug\Aufwachen.pdb
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\bin\Debug\Aufwachen.exe.config
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\bin\Debug\Aufwachen.exe.manifest
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\bin\Debug\Aufwachen.application
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\bin\Debug\Aufwachen.exe
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\bin\Debug\Aufwachen.pdb
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\obj\Debug\Aufwachen.frm_Main.resources
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\obj\Debug\Aufwachen.frm_Status.resources
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\obj\Debug\Aufwachen.Resources.resources
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\obj\Debug\Aufwachen.vbproj.GenerateResource.Cache
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\obj\Debug\Aufwachen.exe.manifest
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\obj\Debug\Aufwachen.application
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\obj\Debug\Aufwachen.exe
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\obj\Debug\Aufwachen.pdb
|
||||
C:\Users\Dominic\Documents\Visual Studio 2015\Projects\Aufwachen\Aufwachen\obj\Debug\Aufwachen.vbprojResolveAssemblyReference.cache
|
||||
|
|
Binary file not shown.
BIN
my_network_places.ico
Normal file
BIN
my_network_places.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
Loading…
Reference in a new issue