Restart Windows implementation, using C# fully again

Created new .NET 5 project instead of the existing one
Installed JWS API but it's probably not what I need
This commit is contained in:
Norbi Peti 2021-06-04 03:14:10 +02:00
parent d3dbea885c
commit 7b0714bda0
18 changed files with 140 additions and 431 deletions

View file

@ -14,13 +14,13 @@
</parent> </parent>
<dependencies> <dependencies>
<dependency> <!-- <dependency>
<groupId>org.virtualbox</groupId> <groupId>org.virtualbox</groupId>
<artifactId>VirtualBox-MSCOM</artifactId> <artifactId>VirtualBox-MSCOM</artifactId>
<version>6.1</version> <version>6.1</version>
<optional>true <optional>true
</optional> <!-- https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html --> </optional> <!- https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html ->
</dependency> </dependency> -->
<dependency> <dependency>
<groupId>net.sf.jni4net</groupId> <groupId>net.sf.jni4net</groupId>
<artifactId>clr</artifactId> <artifactId>clr</artifactId>
@ -32,9 +32,15 @@
<version>3.0</version> <version>3.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.sf.jacob-project</groupId> <groupId>org.virtualbox</groupId>
<artifactId>jacob</artifactId> <artifactId>VirtualBox-JWS</artifactId>
<version>1.19</version> <version>6.1</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.20</version>
<scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View file

@ -1,11 +0,0 @@
package com.jacob.com;
public class COMConverter {
public static long GetVariantAddress(Variant variant) {
return variant.m_pVariant;
}
public static void SetVariantAddress(Variant variant, long addr) {
variant.m_pVariant = addr;
}
}

View file

@ -16,12 +16,7 @@ public final class COMUtils {
} }
public static IEventListener registerListener(IEventSource source, IEventHandler listener, List<VBoxEventType> types) { public static IEventListener registerListener(IEventSource source, IEventHandler listener, List<VBoxEventType> types) {
var variant = new Variant(); source.registerListener(, types, true);
COMConverter.SetVariantAddress(variant, Exports.GetEventHandler(listener, COMConverter.GetVariantAddress(variant)));
System.out.println("Variant as int: "+variant.toInt());
var ret = new IEventListener(variant.changeType((short) 9).getDispatch()); //Object variant to dispatch variant
source.registerListener(ret, types, true);
return ret;
} }
@SneakyThrows @SneakyThrows

View file

@ -1,10 +1,9 @@
package sznp.virtualcomputer.util; package sznp.virtualcomputer.util;
import com.jacob.com.Dispatch;
import lombok.var; import lombok.var;
import org.virtualbox_6_1.IEvent; import org.virtualbox_6_1.IEvent;
public interface IEventHandler extends virtualcomputerwindows.IEventHandler { public interface IEventHandler {
void handleEvent(IEvent iEvent); void handleEvent(IEvent iEvent);
@Override @Override

View file

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15 # Visual Studio 15
VisualStudioVersion = 15.0.26403.7 VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VirtualComputerWindows", "VirtualComputerWindows\VirtualComputerWindows.csproj", "{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VirtualComputerWindows", "VirtualComputerWindows\VirtualComputerWindows.csproj", "{FA1D1EAA-1984-4CC9-9656-98357FDD1A61}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -15,18 +15,8 @@ Global
Release|x86 = Release|x86 Release|x86 = Release|x86
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FA1D1EAA-1984-4CC9-9656-98357FDD1A61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Debug|Any CPU.Build.0 = Debug|Any CPU {FA1D1EAA-1984-4CC9-9656-98357FDD1A61}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Debug|x64.ActiveCfg = Debug|x64
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Debug|x64.Build.0 = Debug|x64
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Debug|x86.ActiveCfg = Debug|x86
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Debug|x86.Build.0 = Debug|x86
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Release|Any CPU.Build.0 = Release|Any CPU
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Release|x64.ActiveCfg = Release|x64
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Release|x64.Build.0 = Release|x64
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Release|x86.ActiveCfg = Release|x86
{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}.Release|x86.Build.0 = Release|x86
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View file

@ -0,0 +1,26 @@
using System;
using VirtualBox;
namespace VirtualComputerWindows
{
public static class Class1
{
public static void Main(string[] args)
{
Console.WriteLine("Starting VirtualBox...");
var vbox = new VirtualBoxClass();
var machines = vbox.Machines.As<IMachine>();
var session = new SessionClass();
//machines[0].LockMachine(session, LockType.LockType_VM);
//var prog = session.Console.PowerUp(); - Unknown error initializing kernel driver (VERR_SUPDRV_NOT_BUDDING_VM_PROCESS_1)
var prog = machines[0].LaunchVMProcess(session, "headless", Array.Empty<string>());
prog.WaitForCompletion(-1);
Console.WriteLine("Error: " + prog.ErrorInfo?.Text);
session.Console.Display.AttachFramebuffer(0, new MCFramebuffer());
Console.WriteLine("All set up");
Console.ReadLine();
}
public static T[] As<T>(this Array array) => (T[]) array;
}
}

View file

@ -1,38 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using VirtualBox;
namespace VirtualComputerWindows
{
public class EventHandler : IEventListener
{
private readonly IEventHandler handler;
private bool enabled = true;
/**
* New MSCOM event handler.
*
* @param handler The handle method that handles what needs to be handled
*/
public EventHandler(IEventHandler handler)
{
this.handler = handler;
}
public void HandleEvent(IEvent aEvent)
{
if (!enabled)
return;
handler.handleEvent((long)Marshal.GetIDispatchForObject(aEvent));
}
public void disable()
{
enabled = false;
}
}
}

View file

@ -1,76 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using VirtualBox;
namespace VirtualComputerWindows
{
public static class Exports
{
[DllImport(@"C:\Program Files\Oracle\VirtualBox\VBoxRT.dll", CallingConvention = CallingConvention.StdCall)]
private static extern void RTR3InitExe(int argc, string argv, int zeroflags);
/*[DllImport(@"C:\Program Files\Oracle\VirtualBox\VBoxVMM.dll", CallingConvention = CallingConvention.StdCall)]
private static extern int VMMDoHmTest(IntPtr vmstruct);*/
private static VirtualBoxClient vbc;
private static void Init()
{
try
{
//Environment.SetEnvironmentVariable("VBOX_HOME", @"C:\Program Files\Oracle\VirtualBox\");
//TODO: Only finds the VBoxVMM.dll when placed in the VirtualBox dir (regardless of working dir)
//Even then there are hardening issues: VERR_SUPDRV_NOT_BUDDING_VM_PROCESS_1
//https://www.virtualbox.org/svn/vbox/trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
vbc = new VirtualBoxClientClass(); //GetObjectFromIUnknown
/*var vbox = vbc.VirtualBox;
//RTR3InitExe(0, "", 0);
var ses = vbc.Session;
var machine = vbox.Machines.GetValue(0) as IMachine;
ses.Name = "minecraft";
machine.LockMachine(ses, LockType.LockType_VM);
Console.WriteLine("Locking...");
while (ses.State != SessionState.SessionState_Locked) ;
Console.WriteLine("Locked");
machine = ses.Machine;
Console.WriteLine("Powering up...");
ses.Console.PowerUp().WaitForCompletion(10000);*/
}
catch(Exception e)
{
Console.WriteLine(e);
//Console.ReadLine();
}
}
private static void Main()
{
//Init();
GetEventHandler(null, 0L);
Console.ReadLine();
}
private static WinFrameBuffer framebuffer;
public static long GetFrameBuffer(IMCFrameBuffer framebuffer, long addr)
{
Exports.framebuffer = new WinFrameBuffer(framebuffer);
Marshal.GetNativeVariantForObject(Exports.framebuffer, (IntPtr)addr);
return (long)Marshal.GetIDispatchForObject(Exports.framebuffer);
}
private static EventHandler eventHandler;
private static DispatchWrapper handlerWrapper;
public static long GetEventHandler(IEventHandler handler, long addr)
{
eventHandler = new EventHandler(handler);
//handlerWrapper = new DispatchWrapper(eventHandler);
Marshal.GetNativeVariantForObject(eventHandler, (IntPtr)addr);
//return (long)Marshal.GetIDispatchForObject(eventHandler);
return addr;
}
}
}

View file

@ -1,13 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VirtualComputerWindows
{
public interface IEventHandler
{
void handleEvent(long iEvent);
}
}

View file

@ -1,17 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VirtualComputerWindows
{
public interface IMCFrameBuffer
{
void notifyUpdate(long x, long y, long width, long height);
void notifyUpdateImage(long x, long y, long width, long height, byte[] image);
void notifyChange(long screenId, long xOrigin, long yOrigin, long width, long height);
}
}

View file

@ -0,0 +1,56 @@
using System;
using VirtualBox;
namespace VirtualComputerWindows
{
public class MCFramebuffer : IFramebuffer
{
public void NotifyUpdate(uint aX, uint aY, uint aWidth, uint aHeight)
{
Console.Error.WriteLine($"Unexpected NotifyUpdate: {aX} {aY} {aWidth} {aHeight}");
}
public void NotifyUpdateImage(uint aX, uint aY, uint aWidth, uint aHeight, Array aImage)
{
Console.WriteLine("NotifyUpdateImage");
}
public void NotifyChange(uint aScreenId, uint aXOrigin, uint aYOrigin, uint aWidth, uint aHeight)
{
Console.WriteLine("NotifyChange");
}
public int VideoModeSupported(uint aWidth, uint aHeight, uint aBpp)
{
Console.WriteLine("VideoModeSupported");
return 1;
}
public uint GetVisibleRegion(ref byte aRectangles, uint aCount)
{
return 0;
}
public void SetVisibleRegion(ref byte aRectangles, uint aCount)
{
}
public void ProcessVHWACommand(ref byte aCommand, int aEnmCmd, int aFromGuest)
{
}
public void Notify3DEvent(uint aType, Array aData)
{
}
public uint Width { get; } = 640;
public uint Height { get; } = 480;
public uint BitsPerPixel { get; } = 32;
public uint BytesPerLine { get; } = 640 * 4;
public BitmapFormat PixelFormat { get; } = BitmapFormat.BitmapFormat_BGRA;
public uint HeightReduction { get; } = 0;
public IFramebufferOverlay Overlay { get; }
public long WinId { get; } = 0;
public Array Capabilities { get; } = new[] {FramebufferCapabilities.FramebufferCapabilities_UpdateImage};
}
}

View file

@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("VirtualComputerWindows")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("VirtualComputerWindows")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("5e734f17-ff74-4187-a6e4-b7e1dab272f8")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View file

@ -1,118 +1,20 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup>
<PropertyGroup> <TargetFramework>net5.0</TargetFramework>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <OutputType>Exe</OutputType>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> </PropertyGroup>
<ProjectGuid>{5E734F17-FF74-4187-A6E4-B7E1DAB272F8}</ProjectGuid>
<OutputType>Exe</OutputType> <ItemGroup>
<AppDesignerFolder>Properties</AppDesignerFolder> <COMReference Include="VirtualBox">
<RootNamespace>VirtualComputerWindows</RootNamespace> <Guid>{D7569351-1750-46F0-936E-BD127D5BC264}</Guid>
<AssemblyName>VirtualComputerWindows</AssemblyName> <VersionMajor>1</VersionMajor>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> <VersionMinor>3</VersionMinor>
<FileAlignment>512</FileAlignment> <Lcid>0</Lcid>
<TargetFrameworkProfile /> <WrapperTool>tlbimp</WrapperTool>
<DllExportNamespace>VirtualComputerWindows</DllExportNamespace> <Isolated>False</Isolated>
<DllExportDDNSCecil>true</DllExportDDNSCecil> <EmbedInteropTypes>False</EmbedInteropTypes>
<DllExportSkipOnAnyCpu>false</DllExportSkipOnAnyCpu> </COMReference>
<DllExportOrdinalsBase>1</DllExportOrdinalsBase> </ItemGroup>
<DllExportGenExpLib>false</DllExportGenExpLib>
<DllExportOurILAsm>false</DllExportOurILAsm>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="EventHandler.cs" />
<Compile Include="Exports.cs" />
<Compile Include="IEventHandler.cs" />
<Compile Include="IMCFrameBuffer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="WinFrameBuffer.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<COMReference Include="VirtualBox">
<Guid>{D7569351-1750-46F0-936E-BD127D5BC264}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>3</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>False</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="../packages/DllExport.1.5.2/tools/net.r_eg.DllExport.targets" Condition="Exists('../packages/DllExport.1.5.2/tools/net.r_eg.DllExport.targets')" />
</Project> </Project>

View file

@ -1,76 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using VirtualBox;
namespace VirtualComputerWindows
{
public class WinFrameBuffer : IFramebuffer
{
private IMCFrameBuffer framebuffer;
public WinFrameBuffer(IMCFrameBuffer framebuffer)
{
this.framebuffer = framebuffer;
}
public void NotifyUpdate(uint aX, uint aY, uint aWidth, uint aHeight)
{
framebuffer.notifyUpdate(aX, aY, aWidth, aHeight);
}
public void NotifyUpdateImage(uint aX, uint aY, uint aWidth, uint aHeight, Array aImage)
{
framebuffer.notifyUpdateImage(aX, aY, aWidth, aHeight, (byte[])aImage);
}
public void NotifyChange(uint aScreenId, uint aXOrigin, uint aYOrigin, uint aWidth, uint aHeight)
{
framebuffer.notifyChange(aScreenId, aXOrigin, aYOrigin, aWidth, aHeight);
}
public int VideoModeSupported(uint aWidth, uint aHeight, uint aBpp)
{
return 1;
}
public uint GetVisibleRegion(ref byte aRectangles, uint aCount)
{
return 0;
}
public void SetVisibleRegion(ref byte aRectangles, uint aCount)
{
}
public void ProcessVHWACommand(ref byte aCommand, int aEnmCmd, int aFromGuest)
{
Console.WriteLine("VHWA command! " + aCommand);
}
public void Notify3DEvent(uint aType, Array aData)
{
Console.WriteLine("3D event! " + aType);
}
public uint Width => 640;
public uint Height => 480;
public uint BitsPerPixel => 32;
public uint BytesPerLine => 640;
public BitmapFormat PixelFormat => BitmapFormat.BitmapFormat_BGRA;
public uint HeightReduction => 0;
public IFramebufferOverlay Overlay => null;
public long WinId => 0;
public Array Capabilities => new[] { FramebufferCapabilities.FramebufferCapabilities_RenderCursor, FramebufferCapabilities.FramebufferCapabilities_UpdateImage };
}
}

View file

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.InteropServices" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup></configuration>

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net462" />
</packages>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.virtualbox</groupId>
<artifactId>VirtualBox-JWS</artifactId>
<version>6.1</version>
<description>POM was created from install:install-file</description>
</project>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>org.virtualbox</groupId>
<artifactId>VirtualBox-JWS</artifactId>
<versioning>
<release>6.1</release>
<versions>
<version>6.1</version>
</versions>
<lastUpdated>20210603224925</lastUpdated>
</versioning>
</metadata>